You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
methyl 3-[1-[2-(1-methylindol-3-yl)ethyl-(1H-pyrrol-2-ylmethyl)amino]-2,3-dihydro-1H-inden-5-yl]prop-2-enoate is the IUPAC name of a molecule. Please give its molecular formula.
user
C29H31N3O2
assistant