Smit Hinsu's submission of ATM | CodeChef