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:
t = raw_input()
t = list(t)
for i in range(len(t)-1):
	if i == 0:
		u = t[i].upper()
		t[i]=u
	if(t[i]==' ' or t[i]=='\n'):
		if(t[i+1].isalpha()):
			p = t[i+1].upper()
			t[i+1] = p
print "".join(t)