A farmer is putting apples and oranges into boxes to sell at a market. He has 64 apples and 24 oranges . What is the greatest number of boxes he can make using all of the apples and oranges if each box has identical contents?