Two blocks A and B of equal mass m=1.0 kg are lying on a smooth horizontal surface as shown in figure. A spring of force constant k=200 N/m is fixed at one end of block A. Block B collides with block A with velocity v0=2.0 m/s. Find the maximum compression of the spring.