A winery has a vat with two pipes leading to it. The inlet pipe can fill the vat in 3 hours, while the outlet pipe can empty it in 7 hours. How long will it take to fill the vat if both pipes are left open