When the force F is large enough both blocks will be lifted, but if the force is not large enough , the heavy one will be supported by the base. You can study the following simulation.
VIEW or DOWNLOAD ejs xml source
then click to translate strings for selected locale.

Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop.