- - - - - - - - - - - - - - - - yes - - - - - - - - - no - - - - unsure subject m - - - - 500 - - - - - - - - 200 - - - - - 100 subject r - - - - 400 - - - - - - - - 100 - - - - - 300 a total of 800 students were asked whether they found two subjects , m and r , interesting . each answer was either yes or no or unsure , and the numbers of students who gave these answers are listed in the table above . if 140 students answered yes only for subject m , how many of the students did not answer yes for either subject ?
n0 = 500.0
n1 = 200.0
n2 = 100.0
n3 = 400.0
n4 = 100.0
n5 = 300.0
n6 = 800.0
n7 = 140.0
t0 = n0 - n7
t1 = n7 + t0
t2 = n3 - t0
t3 = t1 + t2
answer = n6 - t3
print(answer)