XML 22 R7.htm IDEA: XBRL DOCUMENT v3.21.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2021
Aug. 31, 2020
Aug. 31, 2019
Operating Activities:      
Net income $ 98,159 $ 78,181 $ 73,489
Adjustments to reconcile net income to net cash provided by operating activities:      
Depreciation and amortization 64,983 61,225 54,958
Allowance for doubtful accounts (53) 3 47
Loss on sale of property and equipment 1,027 443 1,079
Deferred income taxes (3,853) (3,405) (4,401)
Equity in losses of unconsolidated affiliates 58 95 61
Stock-based compensation 18,424 13,817 15,061
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 13,097 (3,040) 14,961
Merchandise inventories (80,202) 21,764 (10,248)
Accounts payable 15,526 90,185 25,325
Net cash provided by operating activities 127,166 259,268 170,332
Investing Activities:      
Additions to property and equipment (113,174) (100,320) (140,061)
Purchases of short-term investments (69,460) (49,629) (15,244)
Proceeds from settlements of short-term investments 65,528 20,182 30,527
Purchases of long-term investments (1,478) (1,485)  
Proceeds from settlements of long-term investments 1,478    
Proceeds from disposal of property and equipment 385 40 74
Net cash used in investing activities (116,721) (131,212) (124,704)
Financing Activities:      
Proceeds from long-term bank borrowings 17,565 57,882  
Repayment of long-term bank borrowings (19,993) (15,164) (12,939)
Proceeds from short-term bank borrowings   271,014 18,403
Repayment of short-term bank borrowings (64,983) (212,919) (10,863)
Cash dividend payments (21,988) (21,527) (21,654)
Purchase of treasury stock for tax withholding on stock compensation (5,542) (3,651) (4,604)
Other financing activities (196) (72) (298)
Net cash provided by (used in) financing activities (95,137) 75,563 (31,955)
Effect of exchange rate changes on cash and cash equivalents and restricted cash (3,600) (6,084) (4,351)
Net increase (decrease) in cash, cash equivalents (88,292) 197,535 9,322
Cash, cash equivalents and restricted cash at beginning of period 303,771 106,236 96,914
Cash, cash equivalents and restricted cash at end of period 215,479 303,771 106,236
Supplemental disclosure of noncash investing activities:      
Capital expenditures accrued, but not yet paid 3,497 10,563 6,637
Cash paid during the period for:      
Interest 7,774 6,877 3,504
Income taxes 58,571 50,814 48,312
Reconciliation of cash, cash equivalents, and restricted cash:      
Cash and cash equivalents 202,060 299,481 102,653
Short-term restricted cash 3,647 185 54
Long-term restricted cash 9,772 4,105 3,529
Total cash, cash equivalents, and restricted cash shown in the consolidated statements of cash flows $ 215,479 $ 303,771 $ 106,236