You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Name the molecular formula for the molecule established as 1-formyl-N-[[2-methyl-4-(4-methyl-1,3-thiazol-5-yl)phenyl]methyl]pyrrolidine-2-carboxamide using the IUPAC nomenclature.
user
C18H21N3O2S
assistant