Im getting two test cases wrong

hi Anchal
ckeck for this test case
1 2 3 1 2 3 1 2 3 1 2 3 -1