Which of the following contributes to GDP?

A. Value of all final goods and services
B. The sales price of homes built thirty years ago.
C. Intermediate goods, which are used to produce final goods.