In an examination every student took history or geography or both of 500 candidates 60% took history whiles 72% took geography. How many students took both subjects