what is the XOR of 1040 and 504

1512