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