P can paint a wall in 32 days and Q can do the same job in 24 days. With the help of R, they did the same job in 8 days only. Then, R alone can do the job in:
days
(P+Q+R)’s 1 day’s work =18
P’s 1 day’s work =132
Q’s 1 day’s work =124
R’s 1 day’s work = (18−132+124)=596
So, R alone can do the work in 965 days.