You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
For the molecule named 2-[1-(6-bromonaphthalene-2-carbonyl)-4-methoxypyrrolidin-2-yl]acetic acid by IUPAC nomenclature, provide its molecular formula.
user
C18H18BrNO4
assistant