Which of the following sentences has a compound predicate?

AShe washed the shells and dried them in the sun.
BShe placed the shells in a plastic bag while he dried himself off.
CShe raced along the path to beat him to the beach.
DWhile he swam, she collected shells.