Find the elements in the target array that appear only once. For example:input: [1,2,2,3,3,4,5,6,6,6],ouput: [1,4,5].
[1,2,2,3,3,4,5,6,6,6]
[1,4,5]