diwanshu suman's submission of ATM | CodeChef