Three blocks are initially placed as shown in the figure. block A has mass m and initial velocity v to the right. Block B with mass m and block C with mass 4m are both initially at rest. Neglect friction. All collisions are elastic. The final velocity of block A is :