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:
try:
	s = raw_input()
	#print s
	words = s.split(' ')
	#print words
	for i in words:
		if len(i)==0:
			print "",
			continue
		else:
		#	print "i =", i
			letters = list(i)
		#	print "leters are",letters
			letters[0] = letters[0].capitalize()
			word = ''.join(letters)
			print (word),
except:
	print "exception"