Problem Description

Input n and k (0-based). Flip kth bit and print new number.

Input Format

One line: n k.

Output Format

One integer.

Sample Test Case

Input:
10 1
Output:
8

Constraints

0

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next