Anirudh Rayabharam's submission of ATM | CodeChef