i can't get the right answer for this question.

9-[(3-2)-8]

the answer is 16 but i have no idea why it is 16

this is what i am doing.

i am doing in the parentheses first (3-2) which is 1

then i change it around 9-(-1)-8 ===> 9+ (-1) +(-8) which is 0

the first time i tired i got -17 now i am getting 0

idk