input: [1, 2, 3, 4, 5, 10, 9, 8, 7, 6] 0 input: [1, 2, 3, 8, 9, 10, 5, 4, 7, 6] 0 input: