You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Convert the IUPAC name of a molecule 1-[2-(2-hydroxypropyl)pyrrolidin-1-yl]-2-(1-methylindol-3-yl)ethanone into molecular formula.
user
C18H24N2O2
assistant