rajesh kumar sinha's submission of ATM | CodeChef