Three words P62421


Statement
 

pdf   zip

thehtml

Write a program that reads three words a, b and c, and prints a line with c, b and a in this order.

Input

Input consists of three words on a line.

Output

Print a line with the three words in reverse order, separated with spaces.

Public test cases
  • Input

    hola adeu bye
    

    Output

    bye adeu hola
    
  • Input

    x y z
    

    Output

    z y x
    
  • Input

    b b c
    

    Output

    c b b
    
  • Information
    Author
    Salvador Roura
    Language
    English
    Translator
    Salvador Roura
    Original language
    Catalan
    Other languages
    Catalan Spanish
    Official solutions
    C C++ Java Python
    User solutions
    Ada Brainfuck C C++ D Haskell Java Lua PHP Python Rust