Four particles $\mathrm{A}, \mathrm{B}, \mathrm{C}$ and D with masses $\mathrm{m}_{\mathrm{A}}=\mathrm{m}$, $\mathrm{m}_{\mathrm{B}}=2 \mathrm{~m}, \mathrm{~m}_{\mathrm{C}}=3 \mathrm{~m}$ and $\mathrm{m}_{\mathrm{D}}=4 \mathrm{~m}$ are at the corners of a square. They have accelerations of equal magnitude with directions as shown. The acceleration of the centre of mass of the particles is :