I'm trying to solve this problem 103708A - Anya's gifts, in more detail, we need to do this.
Given an array $$$A$$$ of length $$$n$$$ ($$$n \leq 10^5$$$, $$$a_i < 2^{50}$$$), divide it into two subsequences $$$X$$$ and $$$Y$$$ such that $$$x_1 \oplus$$$