Four particles A, B, C and D with masses ma=m, mB=2m, mC=3m and mD=4m are at the corners of a square. They have accelerations of equal magnitude with directions as shown in the figure. The acceleration of centre of mass of the particles (in ms−2) is :