XML 17 R7.htm IDEA: XBRL DOCUMENT v3.23.2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
3 Months Ended
Jul. 31, 2023
Jul. 31, 2022
Cash flows from operating activities:    
Net income $ 169,237 $ 152,932
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 82,905 76,295
Amortization of debt issuance costs 278 345
Share-based compensation 10,468 16,185
(Gain) loss on disposal of assets and impairment charges (1,448) 230
Deferred income taxes 15,895 24,727
Changes in assets and liabilities:    
Receivables (13,179) (37,859)
Inventories (48,256) (2,899)
Prepaid expenses (2,518) (6,504)
Accounts payable (4,344) 34,799
Accrued expenses (20,150) (7,865)
Income taxes 39,139 23,953
Other, net 1,104 1,867
Net cash provided by operating activities 229,131 276,206
Cash flows from investing activities:    
Purchase of property and equipment (68,903) (82,070)
Payments for acquisition of businesses, net of cash acquired (13,297) (1,065)
Proceeds from sales of assets 5,784 5,019
Net cash used in investing activities (76,416) (78,116)
Cash flows from financing activities:    
Payments of long-term debt (29,665) (15,998)
Payments of cash dividends (14,945) (13,128)
Repurchase of common stock (29,893) 0
Tax withholdings on employee share-based awards (17,969) (15,478)
Net cash used in financing activities (92,472) (44,604)
Net increase in cash and cash equivalents 60,243 153,486
Cash and cash equivalents at beginning of the period 378,869 158,878
Cash and cash equivalents at end of the period 439,112 312,364
Cash paid during the period for:    
Interest, net of amount capitalized 10,701 8,689
Income taxes, net 0 0
Noncash investing and financing activities:    
Purchased property and equipment in accounts payable 42,188 42,008
Right-of-use assets obtained in exchange for new finance lease liabilities 8,345 736
Right-of-use assets obtained in exchange for new operating lease liabilities $ 2,214 $ 0