Parag P.Vaishnav's submission of ATM | CodeChef