Shloka Mahesheka's submission of ATM | CodeChef