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:
input_str = list(raw_input().split(' '))
#print input_str
output_str = []
for input_word in input_str:
	if (len(input_word) > 0):
		if (input_word[0].isalpha()):
			if (input_word[0].islower()):
				output_str.append(input_word[0].upper() + input_word[1:])
			else:
				output_str.append(input_word)
		else:
			output_str.append(input_word[0].upper() + input_word[1:])
	else:
		output_str.append(input_word)
print ' '.join(output_str)