Using O=C1CC2(CCCC2)CC(=O)N1CCCCBr, c1ccc2c(N3CCNCC3)snc2c1 to produce O=C1CC2(CCCC2)CC(=O)N1CCCCN1CCN(c2snc3ccccc23)CC1, please predict the agent for this reaction in SMILES notation in \boxed{$SMILES1, SMILES2, ...} format.