Masses of 8 kg, 2 kg, 4 kg, and 2 kg are placed at the corners A, B, C, and D respectively of a square ABCD of diagonal 80 cm. The distance of the center of mass from A will be:
(a) 30√2 cm
(b) 40 cm
(c) 20√2 cm
(d) 50 cm