You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Convert the IUPAC name of a molecule 2-(1-methylindol-3-yl)-N-(3-pyrrol-1-ylpropyl)acetamide into molecular formula.
user
C18H21N3O
assistant