Kishlay's submission of ATM | CodeChef