Two friends, Terrence and Eric share a certain amount of money in the ratio 5:9. If Terrence gets $56 less than Eric find the total amount of money that is shared between the two boys.​