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:
arr=list(raw_input())

e=str(arr[0])
arr[0]=e.upper()

i=1
leng=len(arr)
while i<leng:
	a=str(arr[i-1])
	#print 2
	
	#print 22
	c=str(arr[i])
	#print 3
	d=c.isalpha()
	#print 4
	if a==' ' and d==True:
		arr[i]=c.upper()
	i=i+1
	
print ''.join(arr)