v3.26.1
STOCKHOLDERS EQUITY AND EARNINGS PER SHARE (Calculations of the Basic and Diluted Earnings Per Share) (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 9 Months Ended
May 31, 2026
May 31, 2025
May 31, 2026
May 31, 2025
Earnings Per Share [Abstract]        
Net earnings (loss) $ 173,015 $ 83,126 $ 443,329 $ (67,119)
Average basic shares outstanding (shares) 110,845,841 112,700,136 110,955,940 113,437,950
Effect of dilutive securities (shares) 869,039 859,320 1,023,550 0
Average diluted shares outstanding (shares) 111,714,880 113,559,456 111,979,490 113,437,950
Earnings (loss) per share:        
Basic (in USD per share) $ 1.56 $ 0.74 $ 4.00 $ (0.59)
Diluted (in USD per share) $ 1.55 $ 0.73 $ 3.96 $ (0.59)
Antidilutive securities excluded from computation of earnings per share 0 0 0 1,134,029