You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
For the molecule named (1S)-N-(5-cyano-2-methylsulfanylphenyl)-3,4-dihydro-1H-isochromene-1-carboxamide by IUPAC nomenclature, provide its molecular formula.
user
C18H16N2O2S
assistant