A US automobile factory uses $100,000 worth of parts purchased from foreign countries along with U.S. inputs to produce 30 cars worth $20,000 each. Twenty of these cars are sold and 10 are left in inventory. How much did these actions add to GDP?
A. $300,000
B. $500,000
C. $600,000
D. $700,000