Bitwise Pair Matching

Company: meltwater_18oct

Difficulty: easy