Suppose that out of 1500 first-year students at ICU, 350 are taking history, 300 are taking mathematics, and 270 are taking both history and mathematics. How many first- year students are taking history or mathematics?