If A can complete a certain task in 50% more time than B, and when working together, they can complete the task in 18 days, determine how many days B alone can complete the task.