capitalize python hackerrank solution code example
Example: hackerrank capitalize solution
print ' '.join(word.capitalize() for word in raw_input().split(' '))
print ' '.join(word.capitalize() for word in raw_input().split(' '))