XML 17 R7.htm IDEA: XBRL DOCUMENT v3.22.4
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Nov. 30, 2022
Nov. 30, 2021
Cash Flows from Operating Activities:    
Net Income $ 300,821 $ 259,911
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 76,750 75,975
Restructuring charges, net of payments   (2,107)
Fair value adjustments to contingent earnout obligations   2,470
Deferred income taxes (4,196) (6,130)
Stock-based compensation expense 16,877 17,010
Net loss on marketable securities 2,812 1,817
Net (gain) on sales of assets   (42,242)
Other (104) (7)
Changes in assets and liabilities, net of effect from purchases and sales of businesses:    
Decrease in receivables 72,931 80,510
(Increase) in inventory (189,487) (124,941)
(Increase) in prepaid expenses and other current and long-term assets (23,025) (15,165)
(Decrease) in accounts payable (95,502) (29,291)
(Decrease) in accrued compensation and benefits (62,724) (73,449)
Increase (decrease) in accrued losses 1,465 (3,322)
Increase in other accrued liabilities 94,297 18,316
Cash Provided by Operating Activities 190,915 159,355
Cash Flows from Investing Activities:    
Capital expenditures (113,463) (101,416)
Acquisition of businesses, net of cash acquired (47,542) (114,231)
Purchase of marketable securities (10,309) (9,476)
Proceeds from sales of marketable securities 7,071 6,179
Proceeds from sales of assets   50,599
Other 236 (55)
Cash (Used for) Investing Activities (164,007) (168,400)
Cash Flows from Financing Activities:    
Additions to long-term and short-term debt 517,785 104,377
Reductions of long-term and short-term debt (351,795) (733)
Cash dividends (105,640) (100,725)
Repurchases of common stock (25,000) (12,500)
Shares of common stock returned for taxes (14,825) (9,959)
Payments of acquisition-related contingent consideration (3,705) (5,714)
Other (2,627) (710)
Cash Provided by(Used for) Financing Activities 14,193 (25,964)
Effect of Exchange Rate Changes on Cash and Cash Equivalents (10,655) (18,844)
Net Change in Cash and Cash Equivalents 30,446 (53,853)
Cash and Cash Equivalents at Beginning of Period 201,672 246,704
Cash and Cash Equivalents at End of Period 232,118 192,851
Cash paid during the period for:    
Interest 52,256 41,095
Income Taxes, net of refunds 84,034 102,826
Supplemental Disclosures of Noncash Investing Activities:    
Capital expenditures accrued within accounts payable at quarter-end $ 8,879 $ 9,847