favorite We need a little bit of your help to keep things running, click on this banner to learn more
Problems

# 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 Volodymyrovych
Source "ABC programming"