atcoder#TENKA12018A. Measure

Measure

Score : 100100 points

Problem Statement

You are given a string SS of length 22 or 33 consisting of lowercase English letters. If the length of the string is 22, print it as is; if the length is 33, print the string after reversing it.

Constraints

  • The length of SS is 22 or 33.
  • SS consists of lowercase English letters.

Input

Input is given from Standard Input in the following format:

SS

Output

If the length of SS is 22, print SS as is; if the length is 33, print SS after reversing it.

abc
cba

As the length of SS is 33, we print it after reversing it.

ac
ac

As the length of SS is 22, we print it as is.