Every season at the lantern lake of Firefly Mere, someone must rank apprentices for the new term. This year the task falls to Cobbler, armed only with the sigils register. Task: Read a line of space-separated words and print the words in reverse order. Input format: One line with words separated by single spaces. Output format: Print the words in reverse order, single-spaced. Constraints: 1 <= |s| <= 1406; s contains lowercase English letters.
Example 1:
Example 2:
Example 3:
Constraints:
1 <= |s| <= 1406; s contains lowercase English letters.
