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

Find the number

Find the number

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


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.


Print the value of n.

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