what is the XOR of 1040 and 3987

2947