Fixed solution of the third problem