M Vignesh's submission of ATM | CodeChef