In a school, 200 students attended a music festival. Out of these, 120 students participated in singing, and 90 students participated in dancing. If 50 students participated in both singing and dancing, how many students participated only in singing or dancing? Let's think step by step and output the final answer within \boxed{}.
user