In the figure shown initially spring is in unstretched state and blocks are at rest. Now 100 N force is applied on block A arrd B as shown in figure. After some time velocity of 'A' becomes 2 m/s and that of ' B' 4 m/s and block A displaced by amount 10 cm and spring is stretched by amount 30 crn. Then work done by spring force on A will be: