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 2-[methyl-(3,4,4-trimethyl-6,7-dihydro-5H-1-benzothiophen-2-yl)amino]pyrimidine-5-carboxylic acid using the IUPAC nomenclature.
user
C17H21N3O2S
assistant