A can do a piece of work in 90 days, B in 40 days and C in 12 days. They work for a day each in turn i.e., first day A does it alone, B does it the second day and C the third day. After that A does it for another day, and so on. After finishing the work they get Rs. 240. If the wages are divided in proportion to the work done by them, find what each will get ?