A teacher brought a gun to school and shot 5 students then killed the principal and 4 of the teachers and went to the store and killed 15 customers and 7 cashiers. How many people were killed??

A. 36
B. 29
C. 32
D. 26

The answer is D. 26.