~/algor $ cat problems/string-bosh-harflar
Capitalize the words
Easy
1000 ms
128 MB
31%
A text $s$ of lowercase Latin letters and spaces is given. Replace the first letter of every word with an uppercase letter. Words are separated by a single space.
Input
One line containing the string $s$.
Output
The resulting text on one line.
Note
$1 \le |s| \le 10^{5}$
$s$ consists of lowercase Latin letters and spaces
$s$ 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