Reverse a Three-Letter Word
Time limit1sMemory limit128 MB
Read a three-letter word and print its characters in reverse order.
- Level
Easy1 of 10
- Topics
- String, Implementation
- Solved
- No attempts yet
Problem
Write a program that reverses a given three-letter word and prints it.
Input
The first and only line contains a single three-letter word.
Output
Print the reversed input word on the first and only line.