Show the ids of all the faculty members who participate in an activity and advise a student.
select facid from faculty_participates_in intersect select advisor from student