XOR the value B into A exactly C times and print the result.
You are given three integers AAA, BBB, and CCC. Start from AAA and repeat the operation "XOR the current value with BBB" exactly CCC times.
In other words, print the value of (⋯((A⊕B)⊕B)⋯ )⊕B(\cdots((A \oplus B) \oplus B) \cdots) \oplus B(⋯((A⊕B)⊕B)⋯)⊕B, where ⊕B\oplus B⊕B appears CCC times. Here ⊕\oplus⊕ is the bitwise exclusive or.
The first line contains AAA, BBB, and CCC separated by spaces. (0<A,B,C≤1090 < A, B, C \le 10^90<A,B,C≤109)
Print the computed result as a single integer on the first line.