12.
A, B and C can do a piece of work in 18 days, 27 days and 36 days respectively. They start working together. After working for 4 days, A goes away and B leaves 7 days be- fore the work is finished. Only C remains at work from beginning to end. In how many days was the whole work done?