P, Q and R enter into a partnership. P advances one-fourth of the capital for one-fourth of the time. Q contributes one-fifth of the capital for half of the time. R contributes the remaining capital for the whole time. How should they divide a profit of Rs 1140?