Diptom Saha's submission of ATM | CodeChef