XML 66 R56.htm IDEA: XBRL DOCUMENT v3.23.3
Earnings Per Share - Reconciliation of Numerator and Denominator of Basic and Diluted Earnings Per Share (Parenthetical) (Detail) - shares
3 Months Ended
Aug. 31, 2023
Aug. 31, 2022
Stock-Based Compensation Plans    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Shares excluded from the calculation of diluted earnings per share 1,037,000 715,000