You are asked to ensure that the first and last names of people begin with a capital letter in their passports. For example, alison heck should be capitalised correctly as Alison Heck.
Example: hackerrank capitalize solution
print ' '.join(word.capitalize() for word in raw_input().split(' '))