Let S,H and T denote the set of students studying Sanskrit, Hindi and Tamil respectively. Then we are given :
n(S∪H∪T)=100,n(S)=30,n(H)=23,
n(T)=50,n(S∩H)=10,n(H∩T)=5.
Now n(S∪H∪T)=n(S)+n(H)+n(T)−n(S∩H)−n(H∩T)−n(T∩S)+n(S∩H∩T)
=S1−S2+S3
=(30+23+50)−(10+20+8)+5=70.
But we are given n(S∪H∪T)=100.
Hence the data is inconsistent. That is why the surveyor was fired.