XML 23 R7.htm IDEA: XBRL DOCUMENT v3.10.0.1
CONSOLIDATED STATEMENT OF CASH FLOWS (Parenthetical) - USD ($)
$ in Thousands
Aug. 31, 2018
Aug. 31, 2017
Aug. 31, 2016
Statement of Cash Flows [Abstract]      
Cash and cash equivalents $ 622,473 $ 252,595 $ 517,544
Restricted cash 10,142 33,286 22,158
Total cash, cash equivalents and restricted cash $ 632,615 $ 285,881 $ 539,702