XML 77 R50.htm IDEA: XBRL DOCUMENT v3.23.3
Summary of major accounting policies - reconciliation of cash, cash equivalents and restricted cash (Details) - USD ($)
$ in Millions
Aug. 31, 2023
Aug. 31, 2022
Aug. 31, 2021
Aug. 31, 2020
Accounting Policies [Abstract]        
Cash and cash equivalents $ 728 $ 1,358 $ 559  
Marketable securities 11 1,114 634  
Cash and cash equivalents - assets held for sale (included in other current assets) 24 0 0  
Restricted cash (included in other current and non-current assets) 93 86 77  
Cash, cash equivalents, marketable securities and restricted cash $ 856 $ 2,558 $ 1,270 $ 746