Nick Buelich's submission of Divisible Pairs | CodeChef