Given one line of text (which may contain spaces), print it reversed. Spaces are treated as ordinary characters.
Input
One line of length $1$ to $1000$; the first and last characters are not spaces.
Output
Print the reversed line.
Example 1
Input
hello world
Output
dlrow olleh
Discussion
Threads about this problem. Spoilers are collapsed; wrap hints in
||double bars||.No discussion yet. Start a thread if something here needs explaining.