DERIVATIVE FINANCIAL INSTRUMENTS - Additional Information (Detail) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||
---|---|---|---|---|
May 31, 2018 |
May 31, 2017 |
May 31, 2018 |
May 31, 2017 |
|
Derivative Instruments and Hedging Activities Disclosure [Abstract] | ||||
Realized gains or (losses) and changes in the estimated fair value of derivatives not designated as hedges | $ (84,480) | $ 89,035 | $ (37,698) | $ (29,279) |