e-olymp
Competitions

Week 6: December 14 - 20. Char arrays 1

Title String

A common word-processing task is capitalizing the first letter of each word in a string. You are given a string containing lowercase words separated by one or more space characters. Print identical string except with the first character of each word is capitalized.

Input

String containing words of lowercase letters 'a' - 'z', separated by one or more space characters.

Output

Print the string identical to input, where the first character of each word is capitalized.

Time limit 1 second
Memory limit 128 MiB
Input example #1
introduction to algorithms
Output example #1
Introduction To Algorithms