Chaya V's submission of ATM | CodeChef