#P2547. Add Two Numbers

    ID: 15817 Type: Default 1000ms 256MiB

Add Two Numbers

Add Two Numbers

You are given two integers a and b. Your task is to calculate the sum of these two integers and output the result.

The mathematical formulation is:

$$ S = a + b $$

Make sure your solution handles both positive and negative integers.

inputFormat

The input consists of a single line with two space-separated integers a and b.

Constraints:

  • -109 ≤ a, b ≤ 109

outputFormat

Output the sum of a and b on a single line.

sample

1 2
3