Chava Praharsha's submission of ATM | CodeChef