Using c1cc2c(s1)CCNC2, CCOC(=O)C(C)(C)CCC(Br)c1ccccc1Cl to produce CCOC(=O)C(C)(C)CCC(c1ccccc1Cl)N1CCc2sccc2C1, please predict the agent for this reaction in SMILES notation in \boxed{$SMILES1, SMILES2, ...} format.