$${FL=mgd \quad\Rightarrow\quad F\cdot(2R-h) = mg\cdot\sqrt{h\cdot (2R-h)} \quad\Rightarrow\quad F = mg\cdot\sqrt{\frac{h}{2R-h}}}$$