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-(2,6-dimethyl-1,4-dihydropyridin-3-yl)-4-thiophen-3-ylpyridine-3-carboxylate into molecular formula.
user
C18H18N2O2S
assistant