Using the indirect method, cash flow from operations is net income less increase in accounts receivable, plus increase in accounts payable, less increase in inventory, plus loss on sale of equipment, less gain on sale of real estate. 27 – 4 + 1 – 5 + 8 – 4 = $23 million.