Ted can complete a work in 8 days working 12 hours a day. Sid can complete the same work in 16 days working 5 hours a day. If both Ted and Sid work together, working 6 hours a day, in how many days can they complete the work?