A and B take 18 days to complete a work. A left the work after 10 days and B takes 12 days more to complete the work. In how many days can A complete the whole work?

see related questions below.