A greengrocer makes a stack of 45 melons and 60 grapefruits. He wants to make a mini version of the stack but only has 24 grapefruits. How many melons does he need to make the stacks similar?