You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Convert the IUPAC name of a molecule ethyl 2-[2-[[3-(aminomethyl)-3-methylpyrrolidin-1-yl]methyl]-6-bromo-4-methylphenoxy]acetate into molecular formula.
user
C18H27BrN2O3
assistant