You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Translate the chemical IUPAC name 2-[(3E,5Z)-hepta-1,3,5-trien-4-yl]-1-[(2E)-1-methyliminopenta-2,4-dien-2-yl]indole-3-carboxylic acid into its molecular formula.
user
C22H22N2O2
assistant