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