From a container of wine, a thief has stolen 15 liters of wine and replaced it with same quantity of water. He again repeated the same process. Thus in three attempts the ratio of wine and water became 343:169. The initial amount of wine in the container was: