#P278. 练45.3 小 B 的异或
练45.3 小 B 的异或
Description
Little B received a sequence of numbers, which contains numbers.
The sender wants to know the XOR result of these numbers, but Little B doesn't know how to calculate it, so he passes the problem to you.
To make it easier for you, he magically turned all numbers into .
Now, you need to find the XOR result of these ones.
Below is the XOR table for and :
| a | b | a⊕b |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
| 0 | 0 | 0 |
| 0 | 1 | 1 |
Input Format
A single line containing the integer ().
Output Format
A single integer, the answer.
Sample
20