You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Translate the chemical IUPAC name ethyl 2-(6-methylsulfanyl-1,2,3,4-tetrahydroisoquinolin-1-yl)hexanoate;hydrochloride into its molecular formula.
user
C18H28ClNO2S
assistant