XML 18 R7.htm IDEA: XBRL DOCUMENT v3.10.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Nov. 30, 2018
Nov. 30, 2017
Operating Activities:    
Net income $ 14,645 $ 22,490
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 13,723 12,237
Allowance for doubtful accounts 7 (1)
(Gain)/loss on sale of property and equipment 215 159
Deferred income taxes 316 (349)
Equity in (gains)/losses of unconsolidated affiliates 24 (16)
Stock-based compensation 6,046 2,461
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 (6,200) (7,049)
Merchandise inventories (59,054) (61,467)
Accounts payable 55,985 21,372
Net cash provided by (used in) operating activities 25,707 (10,163)
Investing Activities:    
Additions to property and equipment (35,673) (19,752)
Short-term investments (6,190) (39,339)
Proceeds from settlements of short-term investments 12,406  
Proceeds from disposal of property and equipment 93 20
Net cash provided by (used in) investing activities (29,364) (59,071)
Financing Activities:    
Repayment of long-term bank borrowings (3,463) (7,554)
Proceeds from short-term bank borrowings   16,954
Repayment of short-term bank borrowings   (14,696)
Apportionment attributable to noncontrolling interest (33)  
Net cash provided by (used in) financing activities (3,496) (5,296)
Effect of exchange rate changes on cash and cash equivalents and restricted cash (1,375) 2,021
Net increase (decrease) in cash, cash equivalents (8,528) (72,509)
Cash, cash equivalents, and restricted cash at beginning of period 96,914 165,712
Cash, cash equivalents, and restricted cash at end of period 88,386 93,203
Reconciliation of cash, cash equivalents, and restricted cash:    
Total cash, cash equivalents, and restricted cash shown in the Consolidated statements of cash flows $ 96,914 $ 165,712