Subarna Chatterjee's submission of ATM | CodeChef