XML 18 R7.htm IDEA: XBRL DOCUMENT v3.21.4
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Nov. 30, 2021
Nov. 30, 2020
Operating Activities:    
Net income $ 30,530 $ 27,817
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 15,603 15,485
Allowance for doubtful accounts 2 10
Loss on sale of property and equipment 411 70
Deferred income taxes 654 798
Equity in losses of unconsolidated affiliates 10 9
Stock-based compensation 4,567 4,075
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 (27,108) (8,907)
Merchandise inventories (111,062) (63,669)
Accounts payable 73,054 6,539
Net cash used in operating activities (13,339) (17,773)
Investing Activities:    
Proceeds from the disposal of Aeropost, net of divested cash 4,959  
Additions to property and equipment (29,729) (21,171)
Purchases of short-term investments (4,310) (32,121)
Proceeds from settlements of short-term investments 15,488 4,433
Purchases of long-term investments   (1,478)
Proceeds from settlements of long-term investments 1,486  
Proceeds from disposal of property and equipment 56 27
Net cash used in investing activities (12,050) (50,310)
Financing Activities:    
Proceeds from long-term bank borrowings 4,204  
Repayment of long-term bank borrowings (6,126) (3,897)
Proceeds from short-term bank borrowings 10,041  
Repayment of short-term bank borrowings (4,488) (17,695)
Purchase of treasury stock (2,433) (526)
Other financing activities   (80)
Net cash provided by (used in) financing activities 1,198 (22,198)
Effect of exchange rate changes on cash and cash equivalents and restricted cash 1,312 (1,095)
Net decrease in cash, cash equivalents (22,879) (91,376)
Cash, cash equivalents and restricted cash at beginning of period 215,479 303,771
Cash, cash equivalents and restricted cash at end of period 192,600 212,395
Supplemental disclosure of noncash investing activities:    
Capital expenditures accrued, but not yet paid 5,772 9,150
Reconciliation of cash, cash equivalents, and restricted cash:    
Cash and cash equivalents 176,072 207,955
Short-term restricted cash 4,165 185
Long-term restricted cash 12,363 4,255
Total cash, cash equivalents, and restricted cash shown in the consolidated statements of cash flows $ 192,600 $ 212,395