XML 19 R7.htm IDEA: XBRL DOCUMENT v3.20.4
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Nov. 30, 2020
Nov. 30, 2019
Operating Activities:    
Net income $ 27,817 $ 19,709
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 15,485 14,814
Allowance for doubtful accounts 10 (19)
Loss on sale of property and equipment 70 71
Deferred income taxes 798 (1,234)
Equity in losses of unconsolidated affiliates 9 48
Stock-based compensation 4,075 3,396
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 (8,907) (9,762)
Merchandise inventories (63,669) (56,799)
Accounts payable 6,539 45,880
Net cash provided by (used in) operating activities (17,773) 16,104
Investing Activities:    
Additions to property and equipment (21,171) (37,582)
Purchases of short-term investments (32,121) (10,184)
Proceeds from settlements of short-term investments 4,433 2,066
Purchases of long-term investments (1,478)  
Proceeds from disposal of property and equipment 27 13
Net cash used in investing activities (50,310) (45,687)
Financing Activities:    
Proceeds from long-term bank borrowings   25,000
Repayment of long-term bank borrowings (3,897) (2,836)
Proceeds from short-term bank borrowings   81,202
Repayment of short-term bank borrowings (17,695) (65,581)
Purchase of treasury stock (526) (461)
Other financing activities (80) 19
Net cash provided by (used in) financing activities (22,198) 37,343
Effect of exchange rate changes on cash and cash equivalents and restricted cash (1,095) 1,117
Net increase (decrease) in cash, cash equivalents (91,376) 8,877
Cash, cash equivalents and restricted cash at beginning of period 303,771 106,236
Cash, cash equivalents and restricted cash at end of period 212,395 115,113
Supplemental disclosure of noncash investing activities:    
Capital expenditures accrued, but not yet paid 9,150 10,282
Reconciliation of cash, cash equivalents, and restricted cash:    
Total cash, cash equivalents, and restricted cash shown in the consolidated statements of cash flows $ 212,395 $ 115,113