By Kay Akashi
Given a positive integer , answer the value of , where signifies XOR operation.
Note that, in XOR operation of two integers, each bit of two integers in binary format is calculated in the following manner: , , , . For example, .
.
.
.
The input consists of one integer, .
Output the answer.
14
15
.
1
1
Note that when we do not perform any operation.
392857971529353
1
May I please skip the explanation for this.