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