A study showed that the ratio of the number of people who get their news from social media to the number of people who their news from other sources is 3 to 7. Based on the ratio, how many people in a town of 900 people get their news from social media?