hello world python
Python World Hello
words = input().split() result = [w.capitalize() for w in reversed(words)] print(' '.join(result))