XML 17 R7.htm IDEA: XBRL DOCUMENT v3.23.3Close
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Oct. 31, 2023
Oct. 31, 2022
Cash flows from operating activities:    
Net income $ 328,019 $ 290,487
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 168,503 154,412
Amortization of debt issuance costs 555 691
Change in excess replacement cost over LIFO inventory valuation 7,946 16,927
Share-based compensation 19,485 25,875
(Gain) loss on disposal of assets and impairment charges (232) 4,791
Deferred income taxes 39,353 25,284
Changes in assets and liabilities:    
Receivables (21,897) (49,463)
Inventories (44,714) (13,904)
Prepaid expenses (10,693) (9,875)
Accounts payable (10,400) (14,330)
Accrued expenses (20,925) 6,224
Income taxes 21,992 46,707
Other, net 4,788 2,273
Net cash provided by operating activities 481,780 486,099 Close
Cash flows from investing activities:    
Purchase of property and equipment (175,955) (177,327)
Payments for acquisition of businesses, net of cash acquired (139,359) (2,692)
Proceeds from sales of assets 8,291 10,052
Net cash used in investing activities (307,023) (169,967) Close
Cash flows from financing activities:    
Payments of long-term debt and finance lease obligations (35,135) (17,302)
Payments of cash dividends (30,988) (27,292)
Repurchase of common stock (59,491) 0
Tax withholdings on employee share-based awards (18,121) (15,618)
Net cash used in financing activities (143,735) (60,212) Close
Net increase in cash and cash equivalents 31,022 255,920 Close
Cash and cash equivalents at beginning of the period 378,869 158,878
Cash and cash equivalents at end of the period 409,891 414,798
Cash paid during the period for:    
Interest, net of amount capitalized 31,429 25,077
Income taxes, net 36,037 17,696
Noncash investing and financing activities:    
Purchased property and equipment in accounts payable 78,684 59,236
Right-of-use assets obtained in exchange for new finance lease liabilities 11,216 2,119
Right-of-use assets obtained in exchange for new operating lease liabilities $ 8,273 $ 1,163