Of 400 students surveyed, 159 were taking math, 186 were taking English, and 97 were taking physics. 37 were taking English and physics; 54 were taking math and physics; 107 were taking English and math; and 19 were taking all three. How many of the students surveyed took math, English or physics? How many students took none of the three subjects?