Joy Das's submission of ATM | CodeChef