if statement is true , prisoner is hanged
if statement is false , prisoner is shot.
“i’ll be shot “
if his statement is true then he will be hanged , but if he is to be hanged, he should shot,to make his statement true . So the judge let him free as he couldn’t decide .