Hide

Problem B
Leggja saman

Languages en is
/problems/leggjasaman/file/statement/en/img-0001.jpg
Parking by Egor Myznik, Unsplash
Arnar and Hannes are parking cars for party guests. When all party guests are seated and all cars have been parked they discuss how many cars they’ve parked.

Arnar tells Hannes how many cars he parked and Hannes tells Arnar how many cars he parked. Now they want to know how many cars they parked in total and ask for your help.

Input

The input is on two lines. The first line contains a single integer $n$ ($2 \leq n \leq 1000$), the number of cars Arnar parked. The second line contains a single integer $m$ ($2 \leq m \leq 1000$), the number of cars Hannes parked.

Output

Print a single integer, the total number of cars Arnar and Hannes parked.

Scoring

Group

Points

Constraints

1

100

No further constraints

Sample Input 1 Sample Output 1
4
3
7
Sample Input 2 Sample Output 2
11
31
42

Please log in to submit a solution to this problem

Log in