v3.20.4
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Jan. 31, 2021
Jan. 31, 2020
Cash flows from operating activities:    
Net income $ 48,811 $ 107,638
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 46,068 40,355
Stock-based compensation expense 20,210 16,988
Write-off of long-lived assets   2,654
Provision for doubtful accounts 11,561 10,958
Gain on cash surrender value of life insurance policies (8,575) (5,794)
Gain on marketable securities (27,176) (8,341)
Deferred income taxes (3,061) (1,974)
Change in other assets and liabilities:    
Deferred compensation 45,224 26,646
Receivables due from clients (62,844) (37,258)
Income taxes and other receivables (83) (6,424)
Prepaid expenses and other assets (1,891) (9,191)
Unearned compensation (35,211) (17,393)
Income taxes payable (13,122) (1,444)
Accounts payable and accrued liabilities 22,559 (59,911)
Other 11,835 (372)
Net cash provided by operating activities 54,305 57,137
Cash flows from investing activities:    
Purchase of property and equipment (22,842) (33,753)
Purchase of marketable securities (55,057) (39,081)
Proceeds from sales/maturities of marketable securities 53,393 3,245
Cash paid for acquisitions, net of cash acquired   (108,602)
Premium on company-owned life insurance policies (14,366) (15,448)
Proceeds from life insurance policies 8,366 2,280
Dividends received from unconsolidated subsidiaries 205 286
Net cash used in investing activities (30,301) (191,073)
Cash flows from financing activities:    
Repurchases of common stock (30,387) (68,055)
Dividends paid to shareholders (16,954) (17,292)
Payments on life insurance policy loans (7,877) (943)
Payments of tax withholdings on restricted stock (4,712) (8,862)
Principal payments on finance leases (1,024) (1,426)
Dividends paid to noncontrolling interest (558) (2,110)
Proceeds from issuance of common stock upon exercise of employee stock options and in connection with an employee stock purchase plan 5,706 7,684
Proceeds from long term debt   445,500
Principal payments on long term debt   (276,875)
Payment of debt issuance costs   (3,050)
Payment of contingent consideration from acquisitions   (455)
Net cash (used in) provided by financing activities (55,806) 74,116
Effect of exchange rate changes on cash and cash equivalents 36,686 (2,832)
Net increase (decrease) in cash and cash equivalents 4,884 (62,652)
Cash and cash equivalents at beginning of period 689,244 626,360
Cash and cash equivalents at end of the period $ 694,128 $ 563,708

Source