#abc135a. [abc135_a]Harmony
[abc135_a]Harmony
Problem Statement
We have two distinct integers and .
Print the integer such that .
If such an integer does not exist, print IMPOSSIBLE
instead.
Constraints
- All values in input are integers.
- and are distinct.
Input
Input is given from Standard Input in the following format:
Output
Print the integer satisfying the condition.
If such an integer does not exist, print IMPOSSIBLE
instead.
Sample Input 1
2 16
Sample Output 1
9
and , so satisfies the condition.
Sample Input 2
0 3
Sample Output 2
IMPOSSIBLE
No integer satisfies the condition.
Sample Input 3
998244353 99824435
Sample Output 3
549034394