subhashis mollick's submission of ATM | CodeChef