The system of blocks must be released from h>knmg with the spring unstretched so that after perfectly inelastic collision (e = 0) with ground, B may be lifted off the ground. Find the least possible value of n. (k is spring constant).
Your answer seems reasonable.
Find out if you're right!