XML 45 R7.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Nov. 30, 2019
Nov. 30, 2018
Operating Activities:    
Net income $ 19,709 $ 14,645
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 14,814 13,723
Allowance for doubtful accounts (19) 7
Loss on sale of property and equipment 71 215
Deferred income taxes (1,234) 316
Equity in losses of unconsolidated affiliates 48 24
Stock-based compensation 3,396 6,046
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 (9,762) (6,200)
Merchandise inventories (56,799) (59,054)
Accounts payable 45,880 55,985
Net cash provided by operating activities 16,104 25,707
Investing Activities:    
Additions to property and equipment (37,582) (35,673)
Short-term investments (10,184) (6,190)
Proceeds from settlements of short-term investments 2,066 12,406
Proceeds from disposal of property and equipment 13 93
Net cash used in investing activities (45,687) (29,364)
Financing Activities:    
Proceeds from long-term bank borrowings 25,000  
Repayment of long-term bank borrowings (2,836) (3,463)
Proceeds from short-term bank borrowings 81,202  
Repayment of short-term bank borrowings (65,581)  
Other financing activities 19 (33)
Purchase of treasury stock (461)  
Net cash provided by (used in) financing activities 37,343 (3,496)
Effect of exchange rate changes on cash and cash equivalents and restricted cash 1,117 (1,375)
Net increase (decrease) in cash, cash equivalents 8,877 (8,528)
Cash, cash equivalents, and restricted cash at beginning of period 106,236 96,914
Cash, cash equivalents, and restricted cash at end of period 115,113 88,386
Supplemental disclosure of noncash investing activities:    
Capital expenditures incurred but not yet paid 10,282 2,148
Reconciliation of cash, cash equivalents, and restricted cash:    
Total cash, cash equivalents, and restricted cash shown in the consolidated statements of cash flows $ 115,113 $ 88,386