You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Convert the IUPAC name of a molecule (E)-3-(4-methoxyphenyl)-N-(4-pyridin-2-yl-1,3-thiazol-2-yl)prop-2-enamide into molecular formula.
user
C18H15N3O2S
assistant