Santhosh's submission of ATM | CodeChef