XML 18 R7.htm IDEA: XBRL DOCUMENT v3.22.0.1
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Jan. 31, 2022
Jan. 31, 2021
Cash flows from operating activities:    
Net income $ 280,014 $ 271,202
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 225,675 195,299
Amortization of debt issuance costs 1,112 1,258
Share-based compensation 29,382 22,009
(Gain) loss on disposal of assets and impairment charges (869) 3,808
Deferred income taxes 56,967 13,554
Changes in assets and liabilities:    
Receivables (10,006) (18,117)
Inventories (33,579) (35,238)
Prepaid expenses (9,444) (7,993)
Accounts payable (12,910) 124,026
Accrued expenses 25,543 56,228
Income taxes 263 18,363
Other, net (15,607) 18,680
Net cash provided by operating activities 536,541 663,079
Cash flows from investing activities:    
Purchase of property and equipment (228,208) (263,077)
Payments for acquisition of businesses, net of cash acquired (863,371) (5,780)
Proceeds from sales of assets 26,504 4,823
Net cash used in investing activities (1,065,075) (264,034)
Cash flows from financing activities:    
Proceeds from long-term debt 450,000 650,000
Payments of long-term debt (14,226) (570,999)
Payments of debt issuance costs (1,149) (5,525)
Net payments of short-term debt 0 (120,000)
Proceeds from exercise of stock options 133 1,665
Payments of cash dividends (38,223) (35,410)
Tax withholdings on employee share-based awards (17,625) (8,105)
Net cash provided by (used in) financing activities 378,910 (88,374)
Net (decrease) increase in cash and cash equivalents (149,624) 310,671
Cash and cash equivalents at beginning of the period 336,545 78,275
Cash and cash equivalents at end of the period 186,921 388,946
Cash paid during the period for:    
Interest, net of amount capitalized 34,800 32,862
Income taxes, net 27,387 48,137
Noncash investing and financing activities:    
Purchased property and equipment in accounts payable 38,751 28,605
Right-of-use assets obtained in exchange for new finance lease liabilities 49,259 0
Right-of-use assets obtained in exchange for new operating lease liabilities $ 79,867 $ 1,109