Ivan Kazmenko's submission of Root of the Problem | CodeChef