XML 17 R7.htm IDEA: XBRL DOCUMENT v3.23.4
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Nov. 30, 2023
Nov. 30, 2022
Operating Activities:    
Net income $ 38,047 $ 32,905
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 19,494 17,568
Allowance for doubtful accounts (5) 16
Loss on sale of property and equipment 93 158
Deferred income taxes 1,310 358
Equity in losses (gains) of unconsolidated affiliates (63) 38
Stock-based compensation 3,546 4,236
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 (28,390) (15,856)
Merchandise inventories (58,491) (45,649)
Accounts payable 65,557 36,689
Net cash provided by operating activities 41,098 30,463
Investing Activities:    
Additions to property and equipment (33,300) (23,944)
Purchases of short-term investments (55,204) 0
Proceeds from settlements of short-term investments 58,331 2,230
Proceeds from disposal of property and equipment 57 221
Net cash used in investing activities (30,116) (21,493)
Financing Activities:    
Proceeds from long-term bank borrowings 0 19,914
Repayment of long-term bank borrowings (4,849) (5,113)
Proceeds from short-term bank borrowings 1,160 1,218
Repayment of short-term bank borrowings (848) 0
Purchase of treasury stock (69,972) (1,300)
Net cash provided by (used in) financing activities (74,509) 14,719
Effect of exchange rate changes on cash and cash equivalents and restricted cash (1,787) 6,626
Net increase (decrease) in cash, cash equivalents (65,314) 30,315
Cash, cash equivalents and restricted cash at beginning of period 252,202 251,373
Cash, cash equivalents and restricted cash at end of period 186,888 281,688
Supplemental disclosure of noncash investing activities:    
Capital expenditures accrued, but not yet paid 8,312 4,606
Reconciliation of cash, cash equivalents, and restricted cash:    
Cash and cash equivalents 174,452 267,944
Short-term restricted cash 2,869 2,873
Long-term restricted cash 9,567 10,871
Total cash, cash equivalents, and restricted cash shown in the consolidated statements of cash flows $ 186,888 $ 281,688