[Task2] Third solution