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 6 Months Ended
Feb. 28, 2026
Feb. 28, 2025
Feb. 28, 2026
Feb. 28, 2025
Earnings Per Share [Abstract]        
Net earnings (loss) $ 93,032 $ 25,473 $ 270,314 $ (150,245)
Average basic shares outstanding (shares) 110,960,062 113,564,436 111,014,543 113,811,675
Effect of dilutive securities (shares) 957,892 945,857 1,139,736 0
Average diluted shares outstanding (shares) 111,917,954 114,510,293 112,154,279 113,811,675
Earnings (loss) per share:        
Basic (in USD per share) $ 0.84 $ 0.22 $ 2.43 $ (1.32)
Diluted (in USD per share) $ 0.83 $ 0.22 $ 2.41 $ (1.32)
Antidilutive securities excluded from computation of earnings per share       1,270,113