You are given a sentence and a question. You're expected to write the correct answer based on the sentence.

Sentence: Both a cat and a dog are running down the road at the same speed chasing a bunny. The dog gives up before the cat, which means the cat ran for a longer length of time. Question: Which animal ran a greater distance?
cat