Ivan Mistreanu's submission of AND Rounds | CodeChef