Two friends send secret messages by writing them backwards. Given a message, print it reversed, character by character (spaces included).
Input Format
A single line containing the message.
Output Format
Print the reversed message.
Constraints
• 1 ≤ length ≤ 1000
• The message has letters and spaces, and does not start or end with a space.
Examples
Example 1
Input
hello world
Output
dlrow olleh
Explanation Read from right to left.
Example 2
Explanation c, b, a.
Example 3
Explanation Capital M moves to the end.
Acceptance
—
Accepted
0
Submissions
0