George Ogden's submission of ATM | CodeChef