A job can be done by three people in 10 days. After working for three days, one person quits the job. After three more days of work, another quits. Find how many days the third person has to work to complete the remaining work