Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
@VictorStafusa, please have a look at the edit of the puzzle, created thanks to your answer :) Also, note that I find Jasen's comment very relevant (why are you changing the calculation rules for the second part? shouldn't you be looking for the pair of countries with)