To complete a work, A takes 50% more time than B. If together they take 18 days to complete the work, how much time shall B take to do it?
(a) 30 days
(b) 35 days
(c) 40 days
(d) 45 days