Tony needs to ship 12 comedy DVDs, 24 animated DVDs, and 30 musical DVDs. He can pack only one type of DVD in each box and he must pack the same number of DVDs in each box. What is the greatest number of DVDs Tony can pack in each box?

please explain how you found your answer ​