Average of two numbers X62584


Statement
 

pdf   zip

thehtml

write a program that reads two integer numbers and prints their average.

Input

The input are two integer numbers.

Output

The output is the average value of given integers.

Public test cases
  • Input

    3 9

    Output

    6.0
    
  • Input

    -5 1

    Output

    -2.0
    
  • Input

    -4 -9

    Output

    -6.5
    
  • Information
    Author
    Lluís Padró
    Language
    English
    Official solutions
    Python
    User solutions
    Python