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 N-[1-(4-methoxyphenyl)pentyl]-2-thiomorpholin-3-ylacetamide;hydrochloride using the IUPAC nomenclature.
user
C18H29ClN2O2S
assistant