Reversing words (1) P78548


Statement
 

pdf   zip

thehtml

Write a program that reads words, and prints each one reversing the order of its characters.

Input

Input consists of several words.

Output

Print each word, reversed, in a line.

Public test cases
  • Input

    hello
    how_are_you?
    bye
    

    Output

    olleh
    ?uoy_era_woh
    eyb
    
  • Information
    Author
    Salvador Roura
    Language
    English
    Translator
    Salvador Roura
    Original language
    Catalan
    Other languages
    Catalan
    Official solutions
    C++ Java Python
    User solutions
    C C++ Haskell Java Python