XML 18 R7.htm IDEA: XBRL DOCUMENT v3.24.3
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Oct. 31, 2024
Oct. 31, 2023
Cash flows from operating activities:    
Net income $ 361,116 $ 328,019
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 191,001 168,503
Amortization of debt issuance costs 555 555
Change in excess replacement cost over LIFO inventory valuation 6,398 7,946
Share-based compensation 23,645 19,485
Loss (gain) on disposal of assets and impairment charges 4,422 (232)
Deferred income taxes 12,054 39,353
Changes in assets and liabilities:    
Receivables (855) (21,897)
Inventories (8,723) (44,714)
Prepaid and other current assets (12,505) (10,693)
Accounts payable (9,902) (10,400)
Accrued expenses (36,228) (20,925)
Income taxes 20,780 21,992
Other, net 299 4,788
Net cash provided by operating activities 552,057 481,780
Cash flows from investing activities:    
Purchase of property and equipment (211,226) (175,955)
Payments for acquisition of businesses, net of cash acquired (46,341) (139,359)
Proceeds from sales of assets 11,720 8,291
Net cash used in investing activities (245,847) (307,023)
Cash flows from financing activities:    
Proceeds from long-term debt 1,100,000 0
Payments of long-term debt and finance lease obligations (34,637) (35,135)
Payments of Debt Issuance Costs 5,191 0
Payments of cash dividends (35,179) (30,988)
Repurchase of common stock and payment of related excise taxes (734) (59,491)
Tax withholdings on employee share-based awards (25,110) (18,121)
Net cash provided by (used) in financing activities 999,149 (143,735)
Net increase in cash, cash equivalents and restricted cash 1,305,359 31,022
Cash and cash equivalents at beginning of the period 206,482 378,869
Cash, cash equivalents and restricted cash at end of the period 1,511,841 409,891
Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents [Abstract]    
Cash and cash equivalents 351,723 409,891
Restricted cash (see Note 9) 1,160,118 0
Total cash, cash equivalents and restricted cash shown in the statement of cash flows 1,511,841 409,891
Cash paid during the period for:    
Interest, net of amount capitalized 33,516 31,429
Income taxes, net 82,507 36,037
Noncash investing and financing activities:    
Purchased property and equipment in accounts payable 59,312 78,684
Right-of-use assets obtained in exchange for new finance lease liabilities 11,210 11,216
Right-of-use assets obtained in exchange for new operating lease liabilities $ 0 $ 8,273