XML 18 R7.htm IDEA: XBRL DOCUMENT v3.19.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Feb. 28, 2018
Feb. 28, 2019
Feb. 28, 2018
Operating Activities:      
Net income $ 14,148 $ 38,508 $ 36,638
Adjustments to reconcile net income to net cash provided by operating activities:      
Depreciation and amortization 12,575 27,829 24,812
Allowance for doubtful accounts   23 (7)
Asset impairment and closure costs 1,929   1,929
(Gain)/loss on sale of property and equipment   473 199
Deferred income taxes   (916) 6,668
Equity in (gains)/losses of unconsolidated affiliates (5) 44 (21)
Stock-based compensation   9,391 4,881
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   (417) 5,914
Merchandise inventories   (13,874) (3,865)
Accounts payable   15,239 (18,069)
Net cash provided by (used in) operating activities   76,300 59,079
Investing Activities:      
Additions to property and equipment   (62,655) (46,233)
Short-term investments   (9,142) (66,388)
Proceeds from settlements of short-term investments   17,876 7,643
Proceeds from disposal of property and equipment   104 54
Net cash provided by (used in) investing activities   (53,817) (104,924)
Financing Activities:      
Proceeds from long-term bank borrowings     13,500
Repayment of long-term bank borrowings   (6,345) (23,150)
Proceeds from short-term bank borrowings     57,248
Repayment of short-term bank borrowings     (57,248)
Cash dividend payments   (10,985) (10,645)
Purchase of treasury stock for tax withholding on stock compensation   (2,417) (1,833)
Proceeds from exercise of stock options     269
Other financing activities   (86)  
Net cash provided by (used in) financing activities   (19,833) (21,859)
Effect of exchange rate changes on cash and cash equivalents and restricted cash   (1,487) (1,142)
Net increase (decrease) in cash, cash equivalents   1,163 (68,846)
Cash, cash equivalents, and restricted cash at beginning of period   96,914 165,712
Cash, cash equivalents, and restricted cash at end of period 96,866 98,077 96,866
Reconciliation of cash, cash equivalents, and restricted cash:      
Total cash, cash equivalents, and restricted cash shown in the Consolidated statements of cash flows $ 96,866 $ 96,914 $ 165,712