in an examination , 30 % of total students failed in hindi , 42 % failed in english and 28 % in both . the percentage of these who passed in both the subjects is :
n0 = 30.0
n1 = 42.0
n2 = 28.0
t0 = n0 + n1
t1 = t0 - n2
answer = 100.0 - t1
print(answer)