Write SQL query to solve given problem: What are the courses taught by the advisors who gave advice to student with ID 376?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT T3.course_id FROM advisedBy AS T1 INNER JOIN person AS T2 ON T1.p_id = T2.p_id INNER JOIN taughtBy AS T3 ON T2.p_id = T3.p_id WHERE T1.p_id = 141