Benito has 42 orange juice boxes and 36 grape juice boxes. If Benito gives each friend an equal number of each type of juice box, what is the greatest number of friends with whom he can share juice boxes?