Still Learning's submission of ATM | CodeChef