The maximum capacity of the required tin is the HCF of the three quantities of oil.
Prime factorisation of 120 = 2 × 2 × 2 × 3 × 5
Prime factorisation of 180 = 2 × 2 × 3 × 3 × 5
Prime factorisation of 240 = 2 × 2 × 2 × 2 × 3 × 5
∴ HCF of 120, 180, and 240 = 2 × 2 × 3 × 5 = 60
Hence, the required greatest capacity of the tin must be 60 litres.