Hana is putting the fruit she bought into bowls. She bought 8 melons, 12 pears, and 24 apples. She puts the same number of pieces of fruit in each bowl and puts only one type of fruit and each bowl. How many pieces can Hana put in each bowl?