Ali-Amir Aldan's submission of Root of the Problem | CodeChef