let us take 89th prisoner . He guesses that the reminder is going to be 88
Hence his guess would be 100+88 -86 =102 (mod 100) = 2
Hope this clears your doubt
let us take 89th prisoner . He guesses that the reminder is going to be 88
Hence his guess would be 100+88 -86 =102 (mod 100) = 2
Hope this clears your doubt