Two Friends, Sohan and Costubh,
are about to have lunch in a small village.
When a stranger approaches them,
The stranger tells them that he has no food,
But would be happy to pay them if they can share some of theirs.
The two agree.
Sohan has 5 loaves of bread and Costubh has 3.
They divide the bread equally among the three of them.
After they finish the meal,
the stranger puts 8 coins of equal value on the table in payment.
How should the coins be divided,
so that each friend is fairly compensated for the bread that he shared ?