Reverse Words
Given a sentence, print the words in reverse order.
Note: you are reversing the order of the words, not the characters within them.
Input
A single line of 1 to 10^5 ASCII characters containing a sentence with at least one word. A word is any sequence of characters without spaces (letters, digits or punctuation). Words are separated by one or more spaces, and the line may start or end with spaces.
Output
Print the words in reverse order, separated by single spaces.
Examples
Input: hello world
Output: world hello
Input: I love Python
Output: Python love I
Input: hello
Output: hello
A single word has nothing to reorder, so it stays the same.