You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
5-(4-chlorophenyl)-2-(4-nitrophenyl)-7-oxo-3,7-diphenylhepta-2,4-dienenitrile is the IUPAC name of a molecule. Please give its molecular formula.
user
C31H21ClN2O3
assistant