Solution of the problem 50