XML 74 R53.htm IDEA: XBRL DOCUMENT v3.21.1
Leases - Lease Cost (Details) - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
Apr. 30, 2021
Apr. 30, 2020
Apr. 30, 2021
Apr. 30, 2020
Leases [Abstract]        
Operating lease cost $ 21 $ 16 $ 54 $ 53
Variable lease cost 2 3 8 9
Sublease income (4) (5) (12) (19)
Total net lease cost $ 19 $ 14 $ 50 $ 43