TASK DEFINITION: In this task you will be given a list of numbers and you should remove all duplicates in the list. If every number is repeated in the list an empty list should be returned. Your list should be numbers inside brackets, just like the given list.
PROBLEM: [4, 7, 6, 1, 7, 2, 2]

SOLUTION: [4, 6, 1]

PROBLEM: [1, 4, 3, 4, 1, 3, 4, 7]

SOLUTION: [7]

PROBLEM: [7, 4, 7, 7, 7, 2, 4]

SOLUTION:
[2]