Олимпиадный тренинг

Задача 44574. Reset the beat


Задача

Темы: Битовые операции

Write a program that resets (sets to 0) the kth bit of a  N. Display the resulting number.

Arithmetic operations cannot be used in the program, only bit operations must be used!
 

Input

Given an integer N and a natural number k.


Output

Display the number obtained after resetting the given bit.

 

Examples
# Input Output
1 5 2 1
 


 
Запрещенные операторы:+;-;*;/;%