Fazal's submission of ATM | CodeChef