Maximum of two integer numbers P56118


Statement
 

pdf   zip

html

Write a program that reads two numbers and prints their maximum.

Input

Input consists of two integer numbers.

Output

Print a line with the maximum of the two numbers.

Public test cases
  • Input

    634 371
    

    Output

    634
    
  • Input

    -31 -21
    

    Output

    -21
    
  • Input

    -5 -5
    

    Output

    -5
    
  • Information
    Author
    Jordi Petit
    Language
    English
    Translator
    Carlos Molina
    Original language
    Catalan
    Other languages
    Catalan
    Official solutions
    C C++ Java Pascal Python
    User solutions
    Ada C C++ Erlang Fortran Haskell Java Lisp Perl PHP Python Ruby