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