Using CN1CCCC1=O, O=C1c2ccccc2C(=O)N1CCCc1c[nH]c2ccc(Br)cc12 to produce N#Cc1ccc2[nH]cc(CCCN3C(=O)c4ccccc4C3=O)c2c1, please predict the agent for this reaction in SMILES notation in \boxed{$SMILES1, SMILES2, ...} format.