You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
(E)-1-[4-(5-bromo-1H-indol-3-yl)-3,6-dihydro-2H-pyridin-1-yl]-3-phenylprop-2-en-1-one The above is the IUPAC name of a molecule. Write its molecular formula.
user
C22H19BrN2O
assistant