Getting Greedy Transactions of a Customer