Sum of two integer numbers P57548


Statement
 

pdf   zip

html

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

Input

Input consists of two integer numbers.

Output

Print a line with the sum of the two numbers.

Public test cases
  • Input

    634 371
    

    Output

    1005
    
  • Input

    -31 -21
    

    Output

    -52
    
  • Input

    -23 23
    

    Output

    0
    
  • Input

    2
    2
    

    Output

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