The relationship between the number of pies-to-cakes chosen by middle school students as their favorite dessert is shown in the table.


Pie 36 42 60
Cake D 7 B
Total 42 A C


What is the value of C in the table?