Masses 8, 2, 4, 2 kg are placed at the corners A, B, C, D respectively of a square ABCD of diagonal 80 cm. The distance of center of mass from A is: