In an examination, every candidate took either Physics or Mathematics or both 84% of the candidates took Physics and candidates who took Mathematics were half of those who took Physics. The total number of candidates being 1000, how many took both Physics and Mathematics?