A merchant has 120 liters of oil of one kind, 180 liters of another kind and 240 liters of third kind. He wants to sell the oil by filling the three kinds of oil in tins of equal capacity. What should be the greatest capacity of such a tin?