I would like to get the unique element from an array with specific sequences.
For example,
initially, I have array as following:
array([3, 3, 6, 6,