Maximum of three different integer numbers P52847


Statement
 

pdf   zip

thehtml

Write a program that reads three numbers, all different, and prints their maximum.

Input

Input consists of three different integer numbers.

Output

Print a line with the maximum of the three numbers.

Public test cases
  • Input

    736 291 348
    

    Output

    736
    
  • Input

    12 -569 666
    

    Output

    666
    
  • Information
    Author
    Salvador Roura
    Language
    English
    Translator
    Salvador Roura
    Original language
    Catalan
    Other languages
    Catalan
    Official solutions
    C++ Java Pascal Python
    User solutions
    Ada C C++ Erlang Fortran Haskell Java Lisp Lua Perl PHP Python R Ruby Rust