Which of the following sentences uses parallel structures?

A) it is important to exercise, stretching before running, and go to the gym.
B) My three favorite activities are writing, reading and going to the library.
C) There is nothing she likes better than to build, constructing, and inventing.
D) When you meet someone, you should be friendly, introduce yourself, and smile.