#include <stdio.h>
// Function to clear a bit at a given position
unsigned char clearBit(unsigned char reg, int pos) {
return reg & ~(1 << pos); // Clear the bit without affecting other bits
}
int main() {
unsigned char reg;
int pos;
scanf("%hhu %d", ®, &pos);
unsigned char updatedReg = clearBit(reg, pos);
printf("%u\n", updatedReg); // Print the updated register value
return 0;
}