# of distinct prime factors given number of positive factors

I am utterly lost as to how to solve this:

An integer with
24 positive factors can have how many distinct prime factors?

Thanks to whoever takes the time to answer this question.