Using O=C(n1ccnc1)n1ccnc1, O=C(CCc1ccccc1)N1CCNCC1 to produce O=C(CCc1ccccc1)N1CCN(C(=O)n2ccnc2)CC1, please predict the agent for this reaction in SMILES notation in \boxed{$SMILES1, SMILES2, ...} format.