A survey of 80 students found that 24 students both play in the band and play a sport. But 22 students are not in band and do not play a sport. There are 48 students in the band. If being in band is the row variable and playing sports is the column variable, fill in the labels in the table.
A 4-column table with 3 rows. Column 1 has entries in band, not in band, total. Column 2 is labeled play a sport with entries a, d, g. Column 3 is labeled do not play a sport with entries b, e, h. Column 4 is labeled total with entries c, f, i.
Which of the following correctly represents the given data in the problem?
A: a = 24, g = 48, h = 22, i = 80
B: a = 22, c = 80, d = 24, i = 48
C: a = 24, b = 48, c = 22, i = 48
D: a = 24, c = 48, e = 22, i = 80