And on passing the test case they are saying account for negative numbers

and on passing the test case they are saying account for negative numbers…

why should i focus on negative numbers when N ranges from [1,100]