Shikhar Srivastava's submission of ATM | CodeChef