You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Translate the chemical IUPAC name 4-[(1E)-3-(methylamino)buta-1,3-dienyl]-N-[2-(2-methyl-1H-indol-3-yl)ethyl]aniline into its molecular formula.
user
C22H25N3
assistant