This page is still under construction.

Parts of this page are still being built. What you see may change.

Reverse a Three-Letter Word

Time limit1sMemory limit128 MB

Summary
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.

Examples1

  1. Example 1

    Input
    abc
    
    Expected output
    cba