In most States in India the law for the sale of alcoholic beverages provides that beer cannot be sold after a certain hour. However, in some States the law permits a customer to consume, after the deadline, what has been sold before the curfew. In a certain bar two men ordered sufficient beer to cover their probable requirements in anticipation of the curfew. One man ordered and paid for five bottles and the other man ordered and paid for three bottles. But as the curfew sounded, an old friend of both the men approached and requested them to share with him the drinks. The two men agreed and shared the total eight bottles of beer between them. The friend thanked the two men and put down $8 in payment for the beer he had consumed, asking them to share the money in proportion to the quantity of beer they have contributed to him. How should this money be equitably divided between the two men?