A, B, and C each have some money. The ratio of A and B's money is 5:4, and the ratio of A and C's money is 3:4. If C gives B 18 yuan, then the two people have the same amount of money. How much money do A, B, and C have in total?
甲、乙、丙各有一些钱，甲、乙的钱数之比是5：4，甲、丙的钱数之比是3：4．如果丙给乙18元，那么两人的钱数相等，甲、乙、丙三人共有少钱？
<result>244.5</result>