Lets say the input can contain string or integer values
names = ["rahul, "rohit","srujan", "rahul"] --> output = ["