A music store conducted a survey about whether people liked rock music, country music, or both. Out of the 800 respondents, 300 people liked country music and 700 people liked rock music. Based on this information, how many people liked both country and rock music?