v3.26.3
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Cash Flows from Operating Activities:    
Net Income $ 256,626 $ 227,840
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 53,075 51,464
Fair value adjustments to contingent earnout obligations (4,945) 0
Deferred income taxes (3,817) 1,304
Stock-based compensation expense 9,601 5,475
Net (gain) on marketable securities (2,032) (8,673)
Net (gain) on sales of assets (10,505) 0
Other 244 (324)
Changes in assets and liabilities, net of effect from purchases and sales of businesses:    
Decrease in receivables 142,204 49,331
(Increase) in inventory (81,609) (16,005)
(Increase) in prepaid expenses and other current and long-term assets (9,868) (18,051)
Increase in accounts payable 57,344 7,810
(Decrease) in accrued compensation and benefits (121,260) (99,296)
(Decrease) in accrued losses (2,320) (6,098)
(Decrease) increase in other accrued liabilities (18,802) 42,733
Cash Provided by Operating Activities 263,936 237,510
Cash Flows from Investing Activities:    
Capital expenditures (58,505) (62,461)
Acquisition of businesses, net of cash acquired 0 (115,695)
Purchase of marketable securities (10,243) (6,283)
Proceeds from sales of marketable securities 1,526 1,525
Proceeds from sales of assets 27,634 0
Other (238) 523
Cash (Used for) Investing Activities (39,826) (182,391)
Cash Flows from Financing Activities:    
Additions to long-term and short-term debt 148,886 35,000
Reductions of long-term and short-term debt (276,448) (14,972)
Cash dividends (68,069) (64,521)
Repurchases of common stock (22,386) (17,500)
Shares of common stock returned for taxes (8,987) (1,921)
Other (278) (221)
Cash (Used for) Financing Activities (227,282) (64,135)
Effect of Exchange Rate Changes on Cash and Cash Equivalents 826 3,954
Net Change in Cash and Cash Equivalents (2,346) (5,062)
Cash and Cash Equivalents at Beginning of Period 315,188 302,137
Cash and Cash Equivalents at End of Period 312,842 297,075
Cash paid during the period for:    
Interest 26,529 28,640
Income taxes, net of refunds 63,677 38,080
Supplemental Disclosures of Noncash Investing Activities:    
Capital expenditures accrued within accounts payable at quarter-end $ 12,287 $ 17,265