Problems
Taxi
Taxi
At the rush hour, three taxi buses drove up at the same time, following one route, where the passengers immediately got crowded. The drivers found that the number of people in taxis is different, so they decided to relocate a part of passengers so that in each minibus there will be an equal number of passengers. Determine what is the fewest number of passengers have to be relocated at the same time.
Input data
Three integers not greater than 100 - the number of passengers in the first, second and third taxi bus.
Output data
Print one number - the minimum number of passengers that must be relocated. If its not possible, print the word IMPOSSIBLE (with capital letters).
Examples
Input example #1
1 2 3
Output example #1
1