XML 58 R46.htm IDEA: XBRL DOCUMENT v3.21.1
LEASES - Cash Flow and Other Information Related to Leases (Details) - USD ($)
$ in Thousands
6 Months Ended
Feb. 28, 2021
Feb. 29, 2020
Cash paid for amounts included in the measurement of lease liabilities    
Operating cash outflows from operating leases $ 17,812 $ 17,594
Operating cash outflows from finance leases 1,125 787
Financing cash outflows from finance leases 7,761 6,426
Right-of-Use Assets Obtained in Exchange for Lease Obligations [Abstract]    
Operating leases 20,249 28,942
Finance leases $ 8,784 $ 13,040