There are two containers, one that can hold 327 litres of milk and the other that can hold 314 litres of milk. Suppose there are 7 containers of the first type and 12 containers of the second type. How many litres of milk will be required to fill them both?