Shreyans Sheth's submission of ATM | CodeChef