#include <stdio.h>
#include <stdint.h>
uint8_t set_range(uint8_t reg, uint8_t start, uint8_t end)
{
while(start<=end) //we need to set bits for certain range from variable: start to end.
{
reg=reg|(1<<start); //logic to set bit at specific position.
start++;
}
return reg;
}
int main() {
uint8_t reg, start, end;
scanf("%hhu %hhu %hhu", ®, &start, &end);
printf("%u", set_range(reg, start, end));
return 0;
}