eolymp
Competitions

Виток 1, Шаг 8 - Битовые операции

Reset a bit

Given two integers a and k. Find the number that is obtained from a by reseting the value of k-th bit to 0. The least significant bit has number 0.

Input

Two numbers a and k (0a109).

Output

Print the number with reset k-th bit.

Time limit 1 second
Memory limit 64 MiB
Input example #1
5 1
Output example #1
5