You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
For the molecule named 2-methylsulfanyl-N'-[(3E,6E)-5-phenyl-4,6-bis[(Z)-prop-1-enyl]nona-1,3,6,8-tetraen-5-yl]acetohydrazide by IUPAC nomenclature, provide its molecular formula.
user
C24H30N2OS
assistant