You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Please write the molecular formula of the molecule 3-[4-[(E)-2-(3-bromophenyl)ethenyl]-N-methylanilino]propanenitrile .
user
C18H17BrN2
assistant