XML 111 R96.htm IDEA: XBRL DOCUMENT v3.21.2
LEASES (Summary of Components of Total Lease Costs) (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2021
Aug. 31, 2020
LEASES [Abstract]    
Operating lease cost $ 17,724 $ 17,305
Short-term lease cost 167 236
Variable lease cost 4,410 3,679
Sublease income (891) (1,061)
Total lease costs $ 21,410 $ 20,159