Input Format
A single line of input containing the full name, .
  • The string consists of alphanumeric characters and spaces.
Note: in a word only the first character is capitalized. Example 12abc when capitalized remains 12abc.
Output Format
Print the capitalized string, .
hackerrank capitalize problem solution in python programming

Problem solution in python 2 programming language.

print ' '.join(word.capitalize() for word in raw_input().split(' '))

Problem solution in python 3 programming language.

print(' '.join(word.capitalize() for word in raw_input().split(' ')))