what is the XOR of 1022 and 508

514