You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
For the molecule named N-[1-[1-[3-(dimethylamino)benzoyl]pyrrolidin-3-yl]pyrazol-4-yl]acetamide by IUPAC nomenclature, provide its molecular formula.
user
C18H23N5O2
assistant