You have to make the cat win. Write the correct answer to move forward to reach the end. But if you write the wrong answer the dog will move.