BASIS OF PRESENTATION - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended
Nov. 30, 2016
Nov. 30, 2015
Aug. 31, 2016
Organization, Consolidation and Presentation of Financial Statements [Abstract]      
Allowance for doubtful accounts receivable and unbilled services $ 79,281   $ 79,440
Accumulated depreciation 1,752,468   $ 1,730,025
New Accounting Pronouncement, Early Adoption [Line Items]      
Income Tax Expense (Benefit) 271,372 $ 359,682  
Net Cash Provided by (Used in) Financing Activities (1,162,775) (1,195,985)  
Net Cash Provided by (Used in) Operating Activities 1,083,882 643,257  
New Accounting Pronouncement, Early Adoption, Effect [Member]      
New Accounting Pronouncement, Early Adoption [Line Items]      
Income Tax Expense (Benefit) $ 30,598    
Net Cash Provided by (Used in) Financing Activities   31,952  
Net Cash Provided by (Used in) Operating Activities   $ 31,952