Let `X = 7x, Y = 8x & Z = 16x`. Then, total money `= 31x`. Now, `Z - X = 27` `iff 15x - 7x = 27` `iff x = 3`. `:.` Total money `= 31x` `= Rs. 93`.