A water tank contains 18 liters when it is 20% full. How many liters does it contain when 50% full? A. 60 B. 30 C. 58 D. 45