In a town, there are two groups of people who like different activities. One group of 120 people likes hiking, and another group of 150 people likes swimming. There are 50 people who like both hiking and swimming. How many people like only hiking or only swimming? Let's think step by step and output the final answer within \boxed{}.
user