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()
i=1
l=len(s)
if ord(s[0])>=96 and ord(s[0])<=122:
	s2=chr(ord(s[0])-32)
else:s2=s[0]
while i<l:
	s2=s2+s[i]
	if s[i]==" ":
		o=ord(s[i+1])
		if o>=97 and o<=122:
			x=chr(o-32)
			s2=s2+x
			i=i+1
	i=i+1
print s2