Grishma Rao's submission of ATM | CodeChef