You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
(E)-3-[5-(4-fluorophenyl)-1-methylpyrazol-4-yl]-N-[4-[(4-methylimidazol-1-yl)methyl]phenyl]prop-2-enamide is the IUPAC name of a molecule. Please give its molecular formula.
user
C24H22FN5O
assistant