6 pails of water fill a vessel when the capacity of each pail is 27 litres. How many pails will be needed to fill the same vessel, if the capacity of each pail is 18 litres?