XML 17 R7.htm IDEA: XBRL DOCUMENT v3.23.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Apr. 30, 2023
Apr. 30, 2022
Cash flows from operating activities:    
Net income $ 231,824 $ 230,043
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 53,535 50,355
Non-cash stock compensation 11,210 15,786
Deferred income taxes (614) (6,786)
Other non-cash (income) expense (625) 42,168
Loss on sale of property, plant and equipment 1,487 281
Changes in operating assets and liabilities (45,857) (85,070)
Other 36,945 (32,276)
Net cash provided by operating activities 287,905 214,501
Cash flows from investing activities:    
Additions to property, plant and equipment (15,349) (24,776)
Proceeds from sale of property, plant and equipment 39 15
Acquisition of business, net of cash acquired (377,843) (171,613)
Net cash used in investing activities (393,153) (196,374)
Cash flows from financing activities:    
Proceeds from long-term debt 785,800 8,439
Repayment of long-term debt (601,183) (6,785)
Repayment of finance lease obligations (2,775) (2,620)
Issuance of common shares 11,808 7,798
Purchase of treasury shares (54,365) (140,466)
Dividends paid (74,463) (59,301)
Net cash provided by (used in) financing activities 64,822 (192,935)
Effect of exchange rate changes on cash 6,042 (4,272)
Decrease in cash and cash equivalents (34,384) (179,080)
Cash and cash equivalents at beginning of period 163,457 299,972
Cash and cash equivalents at end of period $ 129,073 $ 120,892