As we are hanging around the night market, there are always cases when each of us either purchase separately, or borrow money from others when we don't have enough cash. The more transactions, the higher the country's GDP is. However, it is a big task to figure out the payers and payees as well as the amount of transactions.