A, B and C are partners sharing profits in the ratio of 2 : 2 : 1. On retirement of B, goodwill was valued at Rs 30,000. Find the contribution of A and C to compensate B :
(a) Rs 20,000 and Rs 10,000
(b) Rs 8,000 and Rs 4,000
(c) Rs 20,000 and Rs 8,000
(d) Rs 15,000 and Rs 15,000