Arash, Aaron, and Aya each have a collection of marbles. If they want to arrange their marbles into equal-sized groups, what is the greatest number of marbles they can have in each group?

a) 6
b) 12
c) 24
d) 48