Adam Cantor's submission of Dilemma | CodeChef