[Task] Add solution to the question 1