Using c1ccc(CC2=NCCC2)cc1, O=C(CBr)c1ccc(Cl)cc1 to produce Clc1ccc(-c2cn3c(c2-c2ccccc2)CCC3)cc1, please predict the agent for this reaction in SMILES notation in \boxed{$SMILES1, SMILES2, ...} format.