You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
For the molecule named N-methyl-2-[(2S)-3-methyl-4-oxo-2-(2-propan-2-yl-1,3-thiazol-4-yl)-2H-quinazolin-1-yl]acetamide by IUPAC nomenclature, provide its molecular formula.
user
C18H22N4O2S
assistant