XML 17 R7.htm IDEA: XBRL DOCUMENT v3.22.4
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Nov. 30, 2022
Nov. 30, 2021
Operating Activities:    
Net income $ 32,905 $ 30,530
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 17,568 15,603
Allowance for doubtful accounts 16 2
Loss on sale of property and equipment 158 411
Deferred income taxes 358 654
Equity in losses of unconsolidated affiliates 38 10
Stock-based compensation 4,236 4,567
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 (15,856) (27,108)
Merchandise inventories (45,649) (111,062)
Accounts payable 36,689 73,054
Net cash provided by (used in) operating activities 30,463 (13,339)
Investing Activities:    
Proceeds from the disposal of Aeropost, net of divested cash   4,959
Additions to property and equipment (23,944) (29,729)
Purchases of short-term investments   (4,310)
Proceeds from settlements of short-term investments 2,230 15,488
Proceeds from settlements of long-term investments   1,486
Proceeds from disposal of property and equipment 221 56
Net cash used in investing activities (21,493) (12,050)
Financing Activities:    
Proceeds from long-term bank borrowings 19,914 4,204
Repayment of long-term bank borrowings (5,113) (6,126)
Proceeds from short-term bank borrowings 1,218 10,041
Repayment of short-term bank borrowings   (4,488)
Purchase of treasury stock (1,300) (2,433)
Net cash provided by financing activities 14,719 1,198
Effect of exchange rate changes on cash and cash equivalents and restricted cash 6,626 1,312
Net increase (decrease) in cash, cash equivalents 30,315 (22,879)
Cash, cash equivalents and restricted cash at beginning of period 251,373 215,479
Cash, cash equivalents and restricted cash at end of period 281,688 192,600
Supplemental disclosure of noncash investing activities:    
Capital expenditures accrued, but not yet paid 4,606 5,772
Reconciliation of cash, cash equivalents, and restricted cash:    
Cash and cash equivalents 267,944 176,072
Short-term restricted cash 2,873 4,165
Long-term restricted cash 10,871 12,363
Total cash, cash equivalents, and restricted cash shown in the consolidated statements of cash flows $ 281,688 $ 192,600