You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
For the molecule named N-[5-[5-[4-[2-(dimethylamino)acetyl]piperazine-1-carbonyl]-4-methoxy-2-methylphenyl]sulfanyl-1,3-thiazol-2-yl]cyclopropanecarboxamide by IUPAC nomenclature, provide its molecular formula.
user
C24H31N5O4S2
assistant