I ask this question again, because the previous solution does not work.
This is my last question, it contains all the information about the task.
The main prob