You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Name the molecular formula for the molecule established as 2-pyridin-3-ylpenta-2,4-dienamide using the IUPAC nomenclature.
user
C10H10N2O
assistant