Anirudh Achal's submission of ATM | CodeChef