Iaroslav Tverdokhlib's submission of Divisible Pairs | CodeChef