You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
ethyl 5-chloro-1-(3-methylsulfonylpropyl)indole-2-carboxylate is the IUPAC name of a molecule. Please give its SMILES representation.
user
CCOC(=O)C1=CC2=CC(Cl)=CC=C2N1CCCS(C)(=O)=O
assistant