XML 17 R7.htm IDEA: XBRL DOCUMENT v3.22.2.2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Oct. 31, 2022
Oct. 31, 2021
Cash flows from operating activities:    
Net income $ 290,487 $ 215,990
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 154,412 150,146
Amortization of debt issuance costs 691 717
Share-based compensation 25,875 17,500
Loss (gain) on disposal of assets and impairment charges 4,791 (1,707)
Deferred income taxes 25,284 58,073
Changes in assets and liabilities:    
Receivables (49,463) (8,087)
Inventories 3,023 (39,531)
Prepaid expenses (9,875) (13,698)
Accounts payable (14,330) 87,831
Accrued expenses 6,224 (6,134)
Income taxes 46,707 (6,898)
Other, net 2,273 1,175
Net cash provided by operating activities 486,099 455,377
Cash flows from investing activities:    
Purchase of property and equipment (177,327) (123,518)
Payments for acquisition of businesses, net of cash acquired (2,692) (626,126)
Proceeds from sales of assets 10,052 21,890
Net cash used in investing activities (169,967) (727,754)
Cash flows from financing activities:    
Proceeds from long-term debt 0 300,000
Payments of long-term debt (17,302) (9,750)
Payments of debt issuance costs 0 (249)
Proceeds from exercise of stock options 0 133
Payments of cash dividends (27,292) (25,234)
Tax withholdings on employee share-based awards (15,618) (17,370)
Net cash (used in) provided by financing activities (60,212) 247,530
Net increase (decrease) in cash and cash equivalents 255,920 (24,847)
Cash and cash equivalents at beginning of the period 158,878 336,545
Cash and cash equivalents at end of the period 414,798 311,698
Cash paid during the period for:    
Interest, net of amount capitalized 25,077 25,076
Income taxes, net 17,696 14,937
Noncash investing and financing activities:    
Purchased property and equipment in accounts payable 59,236 50,713
Right-of-use assets obtained in exchange for new finance lease liabilities 2,119 47,775
Right-of-use assets obtained in exchange for new operating lease liabilities $ 1,163 $ 40,944