# first solution
# create new space for store solo element
# numbers = [5, 1, 2, 2, 3, 4, 4, 2, 3, 1, 5]
# newNumbers = []
# for number in numbers:
#     if number in newNumbers:
#         continue
#     newNumbers.append(number)
# print(newNumbers)


# second solution
# double pointer iterator
numbers = [5, 1, 2, 2, 3, 4, 4, 2, 3, 1, 5]
