MYSARA can somebody help me with this?

question link : CodeChef: Practical coding for everyone

can anyone tell me how the sample test case is running.
2 3

There are two possible options for A: (2,1) and (2,3).

According to question,
the xor of A[1,1] should be 2 as B1 =2
and xor of A[1,2] should be 3 as B2 =3

but 2^3 is 1 not 3 ?

It’s OR operation and not XOR.