a baker has 27 wheat bagels and 36 plain bagels that will be divided into boxes. Each box must have the same number of wheat bagels and the same number of plain bagels. What is the greatest number of boxs the baker can make using all of the bagels?