You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Convert the IUPAC name of a molecule 4,4-dimethyl-N-[5-[4-[3-(2-methylphenyl)thieno[2,3-c]pyridazin-6-yl]piperidin-1-yl]hexa-1,5-dien-2-yl]pent-1-en-3-amine into molecular formula.
user
C31H40N4S
assistant