XML 18 R7.htm IDEA: XBRL DOCUMENT v3.21.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Feb. 28, 2021
Feb. 29, 2020
Operating Activities:    
Net income $ 56,144 $ 45,420
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 31,765 29,988
Allowance for doubtful accounts 31 (19)
Loss on sale of property and equipment 202 139
Deferred income taxes (1,997) (4,063)
Equity in losses of unconsolidated affiliates 21 63
Stock-based compensation 8,290 6,258
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 10,156 4,711
Merchandise inventories (29,728) 8,251
Accounts payable (45,157) (1,683)
Net cash provided by operating activities 29,727 89,065
Investing Activities:    
Additions to property and equipment (47,170) (70,818)
Purchases of short-term investments (51,314) (20,507)
Proceeds from settlements of short-term investments 16,158 7,059
Purchases of long-term investments (1,477) (1,478)
Proceeds from settlements of long-term investments 1,477  
Proceeds from disposal of property and equipment 50 23
Net cash used in investing activities (82,276) (85,721)
Financing Activities:    
Proceeds from long-term bank borrowings 3,000 45,820
Repayment of long-term bank borrowings (8,467) (5,308)
Proceeds from short-term bank borrowings   90,019
Repayment of short-term bank borrowings (41,916) (93,825)
Cash dividend payments (11,021) (10,811)
Purchase of treasury stock (2,239) (1,381)
Other financing activities (171) (92)
Net cash provided by (used in) financing activities (60,814) 24,422
Effect of exchange rate changes on cash and cash equivalents and restricted cash (2,629) 2,767
Net increase (decrease) in cash, cash equivalents (115,992) 30,533
Cash, cash equivalents and restricted cash at beginning of period 303,771 106,236
Cash, cash equivalents and restricted cash at end of period 187,779 136,769
Supplemental disclosure of noncash investing activities:    
Capital expenditures accrued, but not yet paid 11,529 10,357
Reconciliation of cash, cash equivalents, and restricted cash:    
Total cash, cash equivalents, and restricted cash shown in the consolidated statements of cash flows $ 187,779 $ 136,769