The third homework from the course.