AMC 12A 2017 Problem 17

There are 24 different complex numbers z such that z^{24}=1. For how many of these is z^{6} a real number?

Answer Choices
A. 0
B. 4
C. 6
D. 12
E. 24