my solution is (0,1,5,6) which is correct i think, A[0]=9,A[1]=5,A[5]=6,A[6]=8;

and A[0]+A[1]=14=A[5]+A[6];

# How (0,1,3,22) is solution for A : [ 9, 5, 4, 9, 3, 6, 8, 7, 1, 2, 8, 7, 2, 9, 7, 1, 3, 9, 7, 8, 1, 0, 5, 5 ]

**kick1996**#1

read problem statement carefully.

`If there are more than one solutions, then return the tuple of values which are lexicographical smallest.`

as you can see (0,1,3,22) is lexicographically smaller than (0,1,5,5) because index 3 is smaller than 5.