The ratio of the efficientics of X.Y and Z is `:3:4:5`. The total amount of wates of X.Y and Z working for 20 days. 10 days and 12 days respectively was Rs. 6400. Find the amount of their total wages, if X,Y and Z worked for 30 days, 15 days, and 8 days respectively (in Rs.)
A. 5700
B. 9500
C. 7600
D. 8850