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
'''
s=raw_input()
l=[]
ss=""
l=s.split()
n=len(s)
i=1
while i<n:
	if s[i-1]==" " and s[i]!=" ":
		ss+=s[i].upper()
	else:
		ss+=s[i]
	i+=1

print(s[0].upper()+ss)
'''
for st in range(len(l)):
	l[st]=l[st].capitalize()
print(" ".join(l))'''