Skip to main content
LIVE CONTEST: Round #7 · Begin Marathon is live now! …

~/algor $ cat problems/string/capitalise-the-words

Capitalise the words

Author Iqbolshoh Ilhomjonov 3 @iqbolshoh 650 problems
Easy 1000 ms 128 MB 31%
Share

A text is given. Replace the first letter of every word with an uppercase letter.

The first letter of every word becomes uppercase

Input

One line containing the string .

Output

The resulting text on one line.

Note


consists of lowercase Latin letters and spaces
does not start or end with a space, and words are separated by exactly one space

Examples

Input #1
toshkent shahri
Output #1
Toshkent Shahri
Input #2
a b c
Output #2
A B C

Sign in to submit a solution

Signing up is free and takes a minute.