XOR Cancellation
Pair equal values so their contributions cancel under XOR.
Recognition signal
Every other value appears exactly twice and one appears once.
Method
Fold XOR from zero, using x XOR x = 0 and x XOR 0 = x.
Worked example
6 XOR 2 XOR 6 = 2 because the two 6 values cancel.
Common mistake
When several unpaired values remain, their XOR need not be any original value.