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 3,4-dihydro-2H-1,5-benzothiazepin-5-yl-(5-methylimidazo[1,2-a]pyridin-2-yl)methanone using the IUPAC nomenclature.
user
C18H17N3OS
assistant