Using CC1(C)C2CC[C@]1(C)CNC2, O=C(O)CCC1C2CC3CC(C2)CC1C3 to produce CC1(C)C2CC[C@]1(C)CN(C(=O)CCC1C3CC4CC(C3)CC1C4)C2, please predict the agent for this reaction in SMILES notation in \boxed{$SMILES1, SMILES2, ...} format.