You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Convert the IUPAC name of a molecule methyl 2-[[[6-[5-(4-methylphenyl)-1,3-thiazol-2-yl]pyridin-2-yl]methyl-[(4-methylpyridin-2-yl)methyl]amino]methyl]pyridine-4-carboxylate into molecular formula.
user
C31H29N5O2S
assistant