e-olymp
Competitions

Programming Principles 1. Week 6. October 7 - 13. PART 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
Input example #2
more than  one   space    between     words
Output example #2
More Than  One   Space    Between     Words