Rs. 510 are divided among A, B and C in such a way that A gets 23 of what B gets, and B gets 14 of what C gets. Find the share of each.
A sum of Rs 53 is divided among A, B and C in such a way that A gets Rs 7 more than what B gets and B gets Rs 8 more than what C gets. Find the ratio of the shares.