You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
1-[1-(3-chlorophenyl)cyclopentanecarbonyl]-2-methylpyrrolidine-3-carboxylic acid is the IUPAC name of a molecule. Please give its molecular formula.
user
C18H22ClNO3
assistant