You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Translate the chemical IUPAC name (Z)-3-[3-(3-methylphenyl)-1-phenylpyrazol-4-yl]-2-pyridin-2-ylprop-2-enenitrile into its molecular formula.
user
C24H18N4
assistant