#include <stdio.h>
// Function to set a bit
unsigned char setBit(unsigned char reg, int pos) {
return reg | (1 << pos);
}
int main() {
unsigned char reg;
int pos;
// Input
scanf("%hhu %d", ®, &pos);
// Set the bit
reg = setBit(reg, pos);
// Output
printf("%hhu", reg);
return 0;
}