You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Translate the chemical IUPAC name (2E)-2-[(Z)-prop-1-enyl]penta-2,4-dienehydrazide into its molecular formula.
user
C8H12N2O
assistant