Which sentence uses parallel structure?

A It is important to study, staying on top of your homework, and go to class.

B My three favorite activities are singing, dancing, and to go to the mall.

C There is nothing he likes better than to cook, eating, and cleaning up?

D When you meet someone, you should say hello, smile, and shake hands.