There was a thief who went to a wine shop to steal wine. He went in at 10 pm, stole 15 L of wine and added 15 L of water to top up the barrel. He came back at 1 am, stole 15 L of the mixture from the same barrel and added 15 L of water to top it up. He came back at 4 am, stole 15 L of the mixture from the same barrel and added 15 L of water to top it up. In the morning, the ratio of wine to water in the barrel was 343:169. Find the initial amount of wine in the barrel.