vineet paliwal 's submission of ATM | CodeChef