Half of the students of a school play football and one third of the rest play cricket. The remaining 300 students do not play either of the games. How many students are there in the school?