Tomaz Hocevar's submission of Divisible Pairs | CodeChef