#include <stdio.h>
#include <stdint.h>
uint32_t set_baud_rate(uint32_t reg, uint8_t baud) {
// Your code here
//first clear the bits 8 to 11 in the reg
reg &= ~(0xF << 8);
//Mask the 4 bits with baud and shift to the position
reg |= (0XF &baud) <<8;
return reg;
}
int main() {
uint32_t reg;
uint8_t baud;
scanf("%u %hhu", ®, &baud);
printf("%u", set_baud_rate(reg, baud));
return 0;
}