XML 17 R7.htm IDEA: XBRL DOCUMENT v3.8.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Cash flows from operating activities:    
Net income $ 72,833 $ 72,011
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 3,358 3,300
Net foreign currency (gains) losses 990 (2,301)
Stock-based compensation 11,869 9,630
Deferred income taxes 4,296 182
Provision for (recovery from) bad debts (28) 56
Tax benefits from stock-based compensation 0 1,032
Excess tax benefits from stock-based compensation 0 (1,032)
Other non-cash operating activities 207 40
Changes in assets and liabilities:    
Accounts receivable 3,656 2,494
Prepaid expenses, prepaid income taxes, and other assets 959 3,661
Accounts payable, accrued expenses, income taxes payable and other liabilities (1,792) 5,084
Deferred revenue (41,586) (40,740)
Net cash provided by operating activities 54,762 53,417
Cash flows from investing activities:    
Purchases of marketable securities 0 (683,748)
Maturities of marketable securities 0 613,379
Purchases of property, equipment and leasehold improvements (156) (1,374)
Payments for business acquisitions, net of cash acquired (10,800) (36,171)
Payments for capitalized computer software costs (356) (100)
Net cash used in investing activities (11,312) (108,014)
Cash flows from financing activities:    
Exercises of stock options 3,548 4,843
Repurchases of common stock (105,037) (199,584)
Payments of tax withholding obligations related to restricted stock (3,467) (2,786)
Deferred business acquisition payments (2,600) 0
Excess tax benefits from stock-based compensation 0 1,032
Proceeds from credit agreement 11,000 0
Payments of credit agreement issuance costs (351) 0
Net cash used in financing activities (96,907) (196,495)
Effect of exchange rate changes on cash and cash equivalents 206 (218)
Decrease in cash and cash equivalents (53,251) (251,310)
Cash and cash equivalents, beginning of period 101,954 318,336
Cash and cash equivalents, end of period 48,703 67,026
Supplemental disclosure of cash flow information:    
Income taxes paid, net 29,742 25,000
Interest paid 2,039 1,579
Supplemental disclosure of non-cash investing and financing activities:    
Change in purchases of property, equipment and leasehold improvements included in accounts payable and accrued expenses (44) 506
Change in common stock repurchases included in accounts payable and accrued expenses $ (5,037) $ 416