Problem: You are given a string S. S consists of several words separated by one or more spaces. Word consists of Latin letters as well as other symbols (but not spaces).
In each word which starts from lowercase Latin letter replace starting letter with uppercase Latin letter.

Input
The only line contains S

Output
Output one line with modified string S.

Constraints
1 ≤ length of S ≤ 30 000

SAMPLE INPUT
Wish you were here

SAMPLE OUTPUT
Wish You Were Here

Solution (in PYTHON):

Solution:
s=raw_input()
s1=""
if 96<ord(s[0])<123:
 s1=s1+chr(ord(s[0])-32)
else:
 s1=s1+s[0] 
for i in range(1,len(s)):
 if s[i-1]==" " and 96<ord(s[i])<123:
   s1=s1+chr(ord(s[i])-32)
 else:
   s1=s1+s[i]
print s1