Three men sit down to lunch.
Man one has 5 bagels.
Man two has 3 bagels.
Man three has no bagels but 8 pennies.
They decide to share the bagels equally. They all eat the same amount.
The third man pays the first and second man fairly using all 8 pennies.
How much does the third man owe the first man? The second? How much did the bagels cost?