This is in response to Question One of the New Zealand Math Olympiad
Credit to the New Zealand Math Olympiad