There are five friends: Alice, Bob, Carol, David, and Eve.
Each owns a different pet: a cat, a dog, a fish, a parrot, or a hamster.

1. Alice does not own the cat, dog, or parrot.
2. Bob owns a mammal.
3. Bob does not own the dog or hamster.
4. Carol does not own the cat or fish.
5. David owns a mammal.
6. David does not own the cat.
7. Eve does not own the parrot or fish.
8. The hamster is not owned by Carol or David.

Cat, dog, and hamster are mammals.

Who owns which pet?
