STOCK REPURCHASE PROGRAM - Summary of Share Repurchase Transactions (Details) - USD ($) shares in Thousands, $ in Thousands  | 
3 Months Ended | 9 Months Ended | ||||||
|---|---|---|---|---|---|---|---|---|
Mar. 31, 2024  | 
Dec. 31, 2023  | 
Sep. 30, 2023  | 
Mar. 31, 2023  | 
Dec. 31, 2022  | 
Sep. 30, 2022  | 
Mar. 31, 2024  | 
Mar. 31, 2023  | 
|
| Equity [Abstract] | ||||||||
| Number of shares of common stock repurchased (in shares) | 588 | 1,227 | 2,392 | 4,913 | ||||
| Total cost of repurchases | $ 375,696 | $ 441,563 | $ 459,093 | $ 482,712 | $ 370,982 | $ 89,616 | $ 1,276,352 | |
| Total cost of repurchases | $ 482,712 | $ 943,310 | ||||||
| X | ||||||||||
- Definition Treasury Stock, Value, Acquired, Excluding Accelerated Share Repurchase Program Forward Contracts No definition available. 
  | 
| X | ||||||||||
- References No definition available. 
  | 
| X | ||||||||||
- Definition Number of shares that have been repurchased during the period and are being held in treasury. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Equity impact of the cost of common and preferred stock that were repurchased during the period. Recorded using the cost method. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  |