XML 67 R56.htm IDEA: XBRL DOCUMENT v3.23.1
Earnings Per Share - Reconciliation of Numerator and Denominator of Basic and Diluted Earnings Per Share (Parenthetical) (Detail) - shares
3 Months Ended 9 Months Ended
Feb. 28, 2023
Feb. 28, 2022
Feb. 28, 2023
Feb. 28, 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 680,000 320,000 680,000 655,000