You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
N-[4-(4-bromophenyl)pyridin-1-ium-1-yl]benzamide is the IUPAC name of a molecule. Please give its molecular formula.
user
C18H14BrN2O+
assistant