Using CCOC(=O)c1ccc2cc(C(=O)OCC)[nH]c2c1, CCOC(=O)CCCBr to produce O=C(O)c1ccc2cc3n(c2c1)CCCC3=O, please predict the agent for this reaction in SMILES notation in \boxed{$SMILES1, SMILES2, ...} format.