Which shows a correct plan to solve this problem?

Jared was adding canned goods to his food pantry. He wanted to add 12 cans of corn and 24 cans of beans. He has 3 empty shelves. How many cans of goods is Jared adding to his pantry?

A.
I just need to add the number of cans of beans and corn together and then multiply by 3.

B.
I just need to divide the number of cans of beans by the number of empty shelves (3).

C.
I just need to add the number of cans of beans and corn together and then divide by 3.

D.
I just need to add the number of cans of beans and corn together.