1 test case is failed


please tell me what am i missing in the code.

for the test case
4
-1 -1 -1 3
answer should be Yes