A force F is applied horizontally on mass m1 as shown in figure. Find the contact force between m1 and m2.