XML 66 R55.htm IDEA: XBRL DOCUMENT v3.22.2
LEASES - Cash Flow and Other Information Related to Leases (Details) - USD ($)
$ in Thousands
9 Months Ended
May 31, 2022
May 31, 2021
Cash paid for amounts included in the measurement of lease liabilities:    
Operating cash outflows from operating leases $ 26,481 $ 25,862
Operating cash outflows from finance leases 1,521 1,665
Financing cash outflows from finance leases 12,847 11,706
Right-of-Use Assets Obtained in Exchange for Lease Obligations [Abstract]    
Operating leases 45,949 23,019
Finance leases $ 15,670 $ 14,002