[Task2] First solution.