T4. If only one differs#10076

T4. If only one differs

1 second
64 megabytes
Easy

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}].

Input

A single line containing the integers separated by spaces.

Output

A single line containing the answer to the problem.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading

Example 3

Loading
Loading