You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Convert the IUPAC name of a molecule methyl 5-bromo-2-[[(Z)-3-naphthalen-2-ylbut-2-enoyl]amino]benzoate into molecular formula.
user
C22H18BrNO3
assistant