Rohan Sachan's submission of ATM | CodeChef