In a single line, you are given at least 3 integers, separated by spaces. If exactly one of these integers is different from the others, which are all equal, output the value of this distinct number. If this condition is not met, output the text "NO".
The total number of integers will not exceed .
Each integer falls within the range [-10^{18}; 10^{18}].
A single line containing the integers separated by spaces.
A single line containing the answer to the problem.
Example 1
Example 2
Example 3