samarasimhareddy punnam's submission of ATM | CodeChef