Pairing unordered integers to sum x solved