Volume of Cubes and Cuboids

Q#)

Tank A measuring 50 cm by 46 cm by 15 cm contained 34 ℓ of water. Tank B measuring 40 cm by 30 cm by 35 cm contained 18 ℓ of water. Adrian poured some water from Tank A into Tank B without spilling and the water level of Tank B rose to 28 cm. What was the water level in Tank A in the end?