Comments

D is very interestring problem... i like it

+1

1 xor 3 = 2 and (1 + 3) / 2 = 2