Invert a bit
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Two integers а and k are given. Print number that is obtained from а by inverting the k-th bit.
Input
One line contains two integers a and k (0 ≤ a ≤ 10^9
).
Output
Print the number a with k-th bit inverted.
Examples
Input #1
Answer #1
Submissions 5K
Acceptance rate 61%