#include <stdio.h>#include <stdlib.h>
int main(int argc, char *argv[]){ int num; int x,y; int mask; scanf("%x,%d,%d",&num,&x,&y); mask = 1; mask <<= x; mask = ~mask; num &= mask; mask = 1; mask <<= (y-2); mask = ~mask; num &= mask; mask = 3; mask <<= (y-1); num |= mask; printf("%x/n",num); return 0;}