The Madhura Fruits Company is packing four types of fruits into boxes. There are 126 oranges, 162 apples, 198 guavas and 306 pears. The fruits must be packed in such a way that a given box must have only one type of fruit and must contain the same number of fruit units as any other box. What is the minimum number of boxes that must be used?