AMC8 1987 Problem 18

Half the people in a room left. One third of those remaining started to dance. There were then 12 people who were not dancing. The original number of people in the room was

Answer Choices
A. 24
B. 30
C. 36
D. 42
E. 72