eolymp
bolt
Try our new interface for solving problems
Problems

Find the number

Find the number

Find the integer value of n, if its previous and next numbers are known.

Input

Two integers - the previous and the next number for n, given in any order in one line, space separated. The numbers do not exceed 109 by absolute value.

Output

Print the value of n.

Time limit 1 second
Memory limit 128 MiB
Input example #1
6 8
Output example #1
7
Input example #2
-16 -18
Output example #2
-17
Author Matviychuk Sergiy
Source "ABC programming"