laofu's submission of Two Magicians | CodeChef