Two travelers sat together on the way to their destination to have a meal. One had five loaves of bread. The other had three. A third traveler was passing by and at the request of the two joined in the meal.
The travelers cut each of the loaf of bread in three equal parts. Each of the travelers ate eight broken pieces of the loaf.
At the time of leaving the third traveler took out $8 and gave to the first two men who had offered him the meal, and went away. On receiving the money the two travelers started quarrelling as to who should have how much of the money.
The five loaf man demanded $5. The three loaf man insisted on dividing the money in two equal parts.
Find the exact shares in money of five loaves man and three loaves man?