In the figure, accelerations of blocks A, B and C are indicated by a, b, and c respectively. Acceleration b and c are w.r.t to the ground. Find the acceleration of the body A in terms of b and c with respect to the ground if the surface is smooth and pulley and string is ideal.