Two mass A and B, each of mass m, are initially in equilbrium as shown in figure. The acceleration of block A just after string between A and B is cut will be : (g = acceleration due to gravity).
(A) 2g downward
(B) 2g upward
(C) g downward
(D) g upward