Count the number of words of length 10
with distinct letters that contain none of THE, MATH, and QUIZ. Essentially, you can't have any of these words as subwords but the letters can be rearranged in a non-consecutive manner.

Q&A Education