Nipun Poddar's submission of ATM | CodeChef