Block A of mass m and block B of mass 2m are placed on a fixed triangular wedge by means of massless, inextensible string and a frictionless pulley as shown. The wedge is inclined at 45∘ to horizontal on both sides. The coefficient of friction between block A and wedge is 2/3 and that between block B and wedge is 1/3. If system of A and B is released from rest then acceleration of A is :