a and b can together finish a work in 40 days . they worked together for 10 days and then b left . after another 12 days , a finished the remaining work . in how many days a alone can finish the job ?