XML 18 R7.htm IDEA: XBRL DOCUMENT v3.24.4
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Nov. 30, 2024
Nov. 30, 2023
Operating Activities:    
Net income $ 37,428 $ 38,047
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 20,862 19,494
Allowance for credit losses 0 (5)
Loss on sale of property and equipment 352 93
Deferred income taxes 907 1,310
Equity in losses (gains) of unconsolidated affiliates 5 (63)
Stock-based compensation 4,493 3,546
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 (19,269) (28,390)
Merchandise inventories (57,172) (58,491)
Accounts payable 50,924 65,557
Net cash provided by operating activities 38,530 41,098
Investing Activities:    
Additions to property and equipment (28,181) (33,300)
Purchases of short-term investments (38,313) (55,204)
Proceeds from settlements of short-term investments 37,147 58,331
Proceeds from disposal of property and equipment 41 57
Net cash used in investing activities (29,306) (30,116)
Financing Activities:    
Proceeds from long-term bank borrowings 5,441 0
Repayment of long-term bank borrowings (19,943) (4,849)
Proceeds from short-term bank borrowings 524 1,160
Repayment of short-term bank borrowings (318) (848)
Purchase of treasury stock (3,292) (69,972)
Net cash used in financing activities (17,588) (74,509)
Effect of exchange rate changes on cash and cash equivalents and restricted cash 8,514 (1,787)
Net increase (decrease) in cash, cash equivalents 150 (65,314)
Cash, cash equivalents and restricted cash at beginning of period 136,311 252,202
Cash, cash equivalents and restricted cash at end of period 136,461 186,888
Supplemental disclosure of noncash investing activities:    
Capital expenditures accrued, but not yet paid 4,962 8,312
Reconciliation of cash, cash equivalents, and restricted cash:    
Cash and cash equivalents 120,943 174,452
Short-term restricted cash 3,309 2,869
Long-term restricted cash 12,209 9,567
Total cash, cash equivalents, and restricted cash shown in the consolidated statements of cash flows $ 136,461 $ 186,888