Using O=C(c1ccc(Cl)cc1)c1ccc(CBr)cc1, CCOC(=O)c1cc[nH]c1C(=O)OCC to produce CCOC(=O)c1ccn(Cc2ccc(C(=O)c3ccc(Cl)cc3)cc2)c1C(=O)OCC, please predict the agent for this reaction in SMILES notation in \boxed{$SMILES1, SMILES2, ...} format.