P can do a piece of work in 10 days. Q can do it in 24 days. If R also works with them then it takes only 6 days to complete the whole work. In how may days R alone can complete the whole work?
A. 25
B. 40
C. 50
D. 75