You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
For the molecule named (E)-2-cyano-3-[4-[(E)-2-[4-(N-phenylanilino)phenyl]prop-1-enyl]phenyl]prop-2-enoic acid by IUPAC nomenclature, provide its molecular formula.
user
C31H24N2O2
assistant