There are two people eating bread. One of them has 5 loaves of bread; the other one has 3. They invited a third person to eat with them. They ate all 8 loaves of bread, and out of appreciation he gave them 8 cents.
How should they divide the money to be fair?