Printing elements from array for once?

hi everybody,
i have an array (1,1,1,3,5,55,55)…
i wanna print elements in this array for once…
i want the result like this 1,3,55
what is the way to do that? :puzzled: