_Sam's submission of OneTwo | CodeChef