Which of the following sentences has a compound predicate?

A. She washed the shells and dried them in the sun.
B. She placed the shells in a plastic bag while he dried himself off.
C. While he swam, she collected shells.
D. She raced along the path to beat him to the beach.