Using CCOC(=O)C(CC(=O)c1ccccc1)C(C)=O, NC1CCCCC1 to produce CCOC(=O)c1cc(-c2ccccc2)n(C2CCCCC2)c1C, please predict the agent for this reaction in SMILES notation in \boxed{$SMILES1, SMILES2, ...} format.