#K84857. Reverse the Order of Words
Reverse the Order of Words
Reverse the Order of Words
You are given a string s consisting of words separated by spaces. Your task is to reverse the order of the words in the string. The words themselves should remain intact, but their order should be completely reversed.
For example, if the input is "The quick brown fox", the output should be "fox brown quick The".
This problem tests basic string manipulation and understanding of input/output via standard input and standard output.
inputFormat
The input consists of a single line containing a string s where the words are separated by spaces. The string may contain punctuation, and each word is considered a sequence of non-space characters.
outputFormat
Output a single line which is the reversal of the order of the words in the input string.
## samplehello
hello