SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Net Effect of Foreign Currency Translation) (Details) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||||
|---|---|---|---|---|---|---|
May 31, 2021 |
May 31, 2020 |
May 31, 2021 |
May 31, 2020 |
|||
| SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES [Abstract] | ||||||
| Effect on other comprehensive loss due to foreign currency translation | [1] | $ (3,007) | $ (12,874) | $ (2,577) | $ (19,981) | |
| ||||||