Maya has 28 apples, 12 oranges, and 8 mangos. She wants to put an equal number of each kind of fruit into baskets so all of the baskets will be the same. What is the greatest number of fruit that can be put in each basket?