Ram prepares solutions of alcohol in water according to customers needs. This morning Ram has prepared 27 litres of a 12% alcohol solution and kept it ready in a 27 litre delivery container to be shipped to the customer. Just before delivery, he finds out that the customer had asked for 27 litres of 21% alcohol solution. To prepare what the customer wants, Ram replaces a portion of 12% solution by 39% solution. How many litres of 12% solution is replaced?