This is why you don’t kill a running production line (F-22) until you are darn sure you don’t need any more.
The original plan was to replace some 1500 F-15s with 750 F-22s and now we say 187 is all we need.
The original pre-QDR (Quadrennial Defense Review) plan envisioned a force of ~750 F-22 Raptors (A and C models of various blocks, plus proposed navalized Sea Raptors and a proposed FB-22 Strike Raptor variant to replace the F-15E Strike Eagle), to equip as many as 32 fighters squadrons with up to 24 jets per squadron.