Logan wants to mix an 18% acid solution with a 45% acid solution to get 16L of a 36% acid solution. How many liters of the 18% solution and how many liters of the 45% solution should be mixed?