Using CCOC(=O)c1cc2c(n1CCN)CCCC2, CC(=O)OCc1c(Br)cccc1Br to produce CC(=O)OCc1c(Br)cccc1N1CCn2c(cc3c2CCCC3)C1=O, please predict the agent for this reaction in SMILES notation in \boxed{$SMILES1, SMILES2, ...} format.