XML 16 R6.htm IDEA: XBRL DOCUMENT v3.23.4
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Nov. 30, 2023
Nov. 30, 2022
Cash Flows from Operating Activities:    
Net Income $ 347,128 $ 300,821
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 84,177 76,750
Deferred income taxes (5,574) (4,196)
Stock-based compensation expense 17,147 16,877
Net (gain) loss on marketable securities (6,226) 2,812
Net loss on sales of assets and businesses 3,623  
Other 4,007 (104)
Changes in assets and liabilities, net of effect from purchases and sales of businesses:    
Decrease in receivables 272,262 72,931
Decrease (increase) in inventory 37,243 (189,487)
Decrease (Increase) in prepaid expenses and other current and long-term assets 21,260 (23,025)
(Decrease) in accounts payable (11,806) (95,502)
(Decrease) in accrued compensation and benefits (53,980) (62,724)
Increase in accrued losses 8,332 1,465
Increase in other accrued liabilities 50,188 94,297
Cash Provided by Operating Activities 767,781 190,915
Cash Flows from Investing Activities:    
Capital expenditures (89,300) (113,463)
Acquisition of businesses, net of cash acquired (15,404) (47,542)
Purchase of marketable securities (22,057) (10,309)
Proceeds from sales of marketable securities 13,796 7,071
Other 1,326 236
Cash (Used for) Investing Activities (111,639) (164,007)
Cash Flows from Financing Activities:    
Additions to long-term and short-term debt 0 517,785
Reductions of long-term and short-term debt (449,485) (351,795)
Cash dividends (113,325) (105,640)
Repurchases of common stock (25,000) (25,000)
Shares of common stock returned for taxes (20,689) (14,825)
Payments of acquisition-related contingent consideration (1,082) (3,705)
Other (713) (2,627)
Cash (Used for) Provided by Financing Activities (610,294) 14,193
Effect of Exchange Rate Changes on Cash and Cash Equivalents 1,111 (10,655)
Net Change in Cash and Cash Equivalents 46,959 30,446
Cash and Cash Equivalents at Beginning of Period 215,787 201,672
Cash and Cash Equivalents at End of Period 262,746 232,118
Cash paid during the period for:    
Interest 61,586 52,256
Income Taxes, net of refunds 124,518 84,034
Supplemental Disclosures of Noncash Investing Activities:    
Capital expenditures accrued within accounts payable at quarter-end $ 12,463 $ 8,879