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:
'''
# Read input from stdin and provide input before running code

name = raw_input('What is your name?\n')
print 'Hi, %s.' % name
'''
#print 'Hello World!'
s = raw_input()
n=''
i=0
if 'a'<=s[0] and 'z'>=s[0]:
	n+=chr(ord(s[0])-32)
else:
	n+=s[0]
i+=1
while i < len(s):
	if s[i]==' ' and i+1<len(s) and 'a'<=s[i+1] and 'z'>=s[i+1]:
		n=n+s[i]+ chr(ord(s[i+1])-32)
		i+=2
	else:
		n+=s[i]
		i+=1
		
print n