Suyín has 24 pennies and 36 nickels. She wants to place them all in stacks so that each stack has the same number of​ coins, and each stack contains only one denomination of coin. What is the greatest number of coins that she can place in each​ stack?

The greatest number of coins in each stack is ?