XML 18 R7.htm IDEA: XBRL DOCUMENT v3.22.2.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Jul. 31, 2022
Jul. 31, 2021
Cash flows from operating activities:    
Net income $ 371,854 $ 343,908
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 75,242 78,233
Non-cash stock compensation 23,404 18,077
Deferred income taxes (11,094) (1,108)
Other non-cash expense 43,325 1,450
Loss on sale of property, plant and equipment (707) 528
Changes in operating assets and liabilities (125,573) 12,565
Other (36,760) (78,197)
Net cash provided by operating activities 339,691 375,456
Cash flows from investing activities:    
Additions to property, plant and equipment (39,373) (28,073)
Proceeds from sale of property, plant and equipment 415 82
Other 0 4,994
Acquisition of business, net of cash acquired (171,613) 0
Net cash used in investing activities (210,571) (22,997)
Cash flows from financing activities:    
Proceeds from long-term debt 63,067 5,751
Repayment of long-term debt (40,162) (298,041)
Repayment of finance lease obligations (3,726) (5,111)
Issuance of common shares 8,845 24,136
Purchase of treasury shares (233,767) (46,840)
Dividends paid (88,675) (68,021)
Net cash used in financing activities (294,418) (388,126)
Effect of exchange rate changes on cash (5,937) 1,609
Decrease in cash and cash equivalents (171,235) (34,058)
Cash and cash equivalents at beginning of period 299,972 208,293
Cash and cash equivalents at end of period $ 128,737 $ 174,235