XML 19 R8.htm IDEA: XBRL DOCUMENT v3.8.0.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Feb. 28, 2018
Feb. 28, 2017
Operating activities:    
Net income $ 27,448 $ 24,118
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 3,886 3,298
Net gains on sales and disposals of property and equipment (96) (101)
Deferred income taxes (7,184) 155
Stock-based compensation 3,238 2,959
Unrealized foreign currency exchange losses 284 1,153
Provision for bad debts 28 (102)
Changes in assets and liabilities:    
Trade accounts receivable (7,147) (4,088)
Inventories (3,752) (6,582)
Other assets 2,539 (1,459)
Accounts payable and accrued liabilities (260) 4,793
Accrued payroll and related expenses (4,329) (10,035)
Other long-term liabilities and income taxes payable 6,499 2,266
Net cash provided by operating activities 21,154 16,375
Investing activities:    
Purchases of property and equipment (9,247) (12,896)
Proceeds from sales of property and equipment 246 271
Purchase of intangible assets (175)  
Purchases of short-term investments (84,181) (17,212)
Maturities of short-term investments 83,967 4,517
Net cash used in investing activities (9,390) (25,320)
Financing activities:    
Treasury stock purchases (11,377) (18,718)
Dividends paid (14,486) (12,963)
Proceeds from issuance of common stock 215 359
Proceeds from issuance of long-term senior notes 20,000  
Net (repayments) proceeds from revolving credit facility (6,780) 26,233
Shares withheld to cover taxes upon conversions of equity awards (1,797) (1,692)
Net cash used in financing activities (14,225) (6,781)
Effect of exchange rate changes on cash and cash equivalents 1,879 (1,593)
Net decrease in cash and cash equivalents (582) (17,319)
Cash and cash equivalents at beginning of period 37,082 50,891
Cash and cash equivalents at end of period $ 36,500 $ 33,572