Steven is making goody bags for his son's birthday party. He has 18 Snickers, 27 Milky Ways, and 36 Butterfingers. If he wants to divide the candy equally so that each bag has the same amount of each type of candy and there are no leftovers. What is the greatest number of goody bags Steven can make?