v3.25.2
STOCKHOLDERS' EQUITY - Summary of Shares Repurchased and Subsequently Retired and the Related Consideration Paid (Details) - USD ($)
shares in Millions, $ in Millions
12 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2023
Class of Stock [Line Items]      
Shares (in shares) 5.3 5.0 14.2
Amount $ 150 $ 117 $ 240
Class A Common Stock      
Class of Stock [Line Items]      
Shares (in shares) 3.5 3.4 9.5
Amount $ 97 $ 79 $ 159
Class B Common Stock      
Class of Stock [Line Items]      
Shares (in shares) 1.8 1.6 4.7
Amount $ 53 $ 38 $ 81