Using Br[Mg]c1ccccc1, O=C(C1=NCC2CCCCN12)c1ccccc1 to produce OC(C1=NCC2CCCCN12)(c1ccccc1)c1ccccc1, please predict the agent for this reaction in SMILES notation in \boxed{$SMILES1, SMILES2, ...} format.