Sum of three integer numbers P41221


Statement
 

pdf   zip

thehtml

Write a program that reads three numbers and prints their sum.

Input

Input consists of three integer numbers.

Output

Print a line with the sum of the three numbers.

Public test cases
  • Input

    736 291 291
    

    Output

    1318
    
  • Input

    12 -569 666
    

    Output

    109
    
  • Input

    -7 10 -3
    

    Output

    0
    
  • Input

    11       22
    
    3114
    

    Output

    3147
    
  • 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 Lua Perl PHP Python R Ruby Rust Scheme