A weightless string is thrown over two nails. Two weights are suspended from it. The force of the tension of the horizontal parts of the thread is F. How can you find the mass of the weights and the reaction force of the nails from the profile of the thread?