INCOME TAXES - Schedule of Cash Paid For Income (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Aug. 31, 2026 |
Aug. 31, 2025 |
Aug. 31, 2024 |
|
| Income Tax Paid, by Individual Jurisdiction [Line Items] | |||
| U.S. federal | $ 20,816 | ||
| U.S. state and local | 31,680 | ||
| Non-U.S. | 70,235 | ||
| Total cash paid for income taxes, net of refunds | 122,731 | $ 103,167 | $ 157,015 |
| New York City | |||
| Income Tax Paid, by Individual Jurisdiction [Line Items] | |||
| U.S. state and local | 10,397 | ||
| All other U.S. state and local | |||
| Income Tax Paid, by Individual Jurisdiction [Line Items] | |||
| U.S. state and local | 21,283 | ||
| United Kingdom ("UK") | |||
| Income Tax Paid, by Individual Jurisdiction [Line Items] | |||
| Non-U.S. | 56,399 | ||
| All other Non-U.S. | |||
| Income Tax Paid, by Individual Jurisdiction [Line Items] | |||
| Non-U.S. | $ 13,836 | ||