X, Y, and Z started a business with capitals in the ratio 2:3:5. After 3 months, Z withdrew 40% of his capital. After another 3 months, Y withdrew half of his capital. The business continued for a total of 18 months. If total profit is ₹3,24,000, find the ratio of profit shares of X:Y: Z.
A3 : 3 : 5
B3 : 3 : 4
C1 : 2 : 2
D1 : 3 : 1
