A rectangular glass container 30 cm by 20 cm by 50 cm is 45 filled with water. Some of the water is poured into 2 identical tins to their brims. 14 L of water is then left in the glass container. Find the height of each tin if each has 25 cm square base.