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

start = 0
upperLimit = len(string) - 1

modifiedString = ""

while(start <= upperLimit):
	ch = string[start]

	if(start == 0 and ch.isalpha()):
		modifiedString += ch.upper()
	elif(start == 0 and ch == ' '):
		modifiedString += ch
	elif(string[start - 1] == ' '):
		modifiedString += ch.upper()
	else:
		modifiedString += ch
	start += 1
print modifiedString