i A[i] 0 3 1 8 2 10 3 8