XML 14 R6.htm IDEA: XBRL DOCUMENT v3.25.4
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Nov. 30, 2025
Nov. 30, 2024
Cash Flows from Operating Activities:    
Net Income $ 389,314 $ 412,004
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 103,507 92,743
Fair value adjustments to contingent earnout obligations (12,707) 0
Deferred income taxes (2,429) (31,252)
Stock-based compensation expense 14,574 13,549
Net (gain) on marketable securities (14,222) (10,684)
Net (gain) on sales of assets and businesses (4,730) 0
Other (290) (335)
Changes in assets and liabilities, net of effect from purchases and sales of businesses:    
Decrease in receivables 190,741 122,603
(Increase) in inventory (26,414) (42,981)
Decrease (increase) in prepaid expenses and other current and long-term assets 14,894 (11,193)
(Decrease) increase in accounts payable (13,555) 34,364
(Decrease) in accrued compensation and benefits (58,267) (84,929)
(Decrease) increase in accrued losses (4,248) 2,827
Increase in other accrued liabilities 7,041 30,792
Cash Provided by Operating Activities 583,209 527,508
Cash Flows from Investing Activities:    
Capital expenditures (111,797) (100,732)
Acquisition of businesses, net of cash acquired (161,633) (85,649)
Purchase of marketable securities (20,473) (23,533)
Proceeds from sales of marketable securities 12,958 12,802
Proceeds from sales of assets and businesses, net 3,866 0
Other 0 (1,424)
Cash (Used for) Investing Activities (277,079) (198,536)
Cash Flows from Financing Activities:    
Additions to long-term and short-term debt 110,000 25,086
Reductions of long-term and short-term debt (236,509) (134,022)
Cash dividends (133,719) (124,514)
Repurchases of common stock (35,000) (35,000)
Shares of common stock returned for taxes (2,167) (16,150)
Payments of acquisition-related contingent consideration 0 (1,122)
Other (438) (689)
Cash (Used for) Financing Activities (297,833) (286,411)
Effect of Exchange Rate Changes on Cash and Cash Equivalents 6,158 (11,257)
Net Change in Cash and Cash Equivalents 14,455 31,304
Cash and Cash Equivalents at Beginning of Period 302,137 237,379
Cash and Cash Equivalents at End of Period 316,592 268,683
Cash paid during the period for:    
Interest 55,744 47,989
Income Taxes, net of refunds 135,211 129,963
Supplemental Disclosures of Noncash Investing Activities:    
Capital expenditures accrued within accounts payable at quarter-end $ 15,679 $ 16,406