XML 21 R7.htm IDEA: XBRL DOCUMENT v3.20.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
May 31, 2020
May 31, 2019
Operating Activities:    
Net income $ 58,053 $ 52,577
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 44,867 40,365
Allowance for doubtful accounts (18) 68
Loss on sale of property and equipment 251 735
Deferred income taxes (4,079) (2,737)
Equity in losses of unconsolidated affiliates 79 48
Stock-based compensation 9,976 12,515
Change in operating assets and liabilities:    
Receivables, prepaid expenses and other current assets, non-current assets, accrued salaries and benefits, deferred membership income and other accruals (157) 1,668
Merchandise inventories 62,511 (5,699)
Accounts payable 2,647 13,412
Net cash provided by operating activities 174,130 112,952
Investing Activities:    
Additions to property and equipment (89,713) (86,409)
Purchases of short-term investments (31,711) (14,204)
Proceeds from settlements of short-term investments 8,891 29,485
Purchases of long-term investments (1,489)  
Proceeds from disposal of property and equipment 44 157
Net cash used in investing activities (113,978) (70,971)
Financing Activities:    
Proceeds from long-term bank borrowings 57,820  
Repayment of long-term bank borrowings (7,542) (9,509)
Proceeds from short-term bank borrowings 271,014 5,180
Repayment of short-term bank borrowings (207,368) (3,028)
Cash dividend payments (10,811) (10,986)
Purchase of treasury stock for tax withholding on stock compensation (1,585) (3,145)
Other financing activities (20) (59)
Net cash provided by (used in) financing activities 101,508 (21,547)
Effect of exchange rate changes on cash and cash equivalents and restricted cash (1,872) (3,365)
Net increase in cash, cash equivalents 159,788 17,069
Cash, cash equivalents, and restricted cash at beginning of period 106,236 96,914
Cash, cash equivalents, and restricted cash at end of period 266,024 113,983
Supplemental disclosure of noncash investing activities:    
Capital expenditures accured, but not yet paid 7,975 3,628
Reconciliation of cash, cash equivalents, and restricted cash:    
Total cash, cash equivalents, and restricted cash shown in the consolidated statements of cash flows $ 266,024 $ 113,983