what is the XOR of 1040 and 2991

4031