#abc203a. [abc203_a]Chinchirorin
[abc203_a]Chinchirorin
Problem Statement
Takahashi threw three dice, and they showed three numbers , , and .
If there are two same numbers among , , and , print the remaining number. Otherwise, print .
Constraints
- All of , , and are integers.
Input
Input is given from Standard Input in the following format:
Output
If there are two same numbers among , , and , print the remaining number. Otherwise, print .
Sample Input 1
2 5 2
Sample Output 1
5
The first and third dice both showed , so we should print the number on the remaining dice, which is .
Sample Input 2
4 5 6
Sample Output 2
0
Any two numbers are different, so we should print .
Sample Input 3
1 1 1
Sample Output 3
1
Any two numbers are the same. Whichever two dice we choose, the number on the remaining dice will be .