A nursing assistant intends to use as few drawers as possible to accommodate 184 bottles of one type of medication, 161 bottles of another type, and 115 bottles of a third type. If she puts the same number of vials in all drawers, and medicines of a single type in each of them, how many vials, at most, can she put in each drawer?
a) 23
b) 29
c) 31
d) 37