Pranamya's submission of ATM | CodeChef