shivam duggal's submission of ATM | CodeChef