Problems
Easy problem for Dino
Easy problem for Dino
Given two different integers $a$ and $b$. Find such integer $k$ that $|a - k| = |b - k|$.
Note: $|x|$ means the absolute value of $x$.
\InputFile
Two integers $a$ and $b~(-10^9 \le a, b \le 10^9, a \ne b)$.
\OutputFile
If the value of $k$ doesn't exist, print "\textbf{-}". Otherwise print $k$.
Input example #1
10 5
Output example #1
-
Input example #2
6 2
Output example #2
4