LearnPy Hub
← Lists problems
Medium

Remove Duplicates

Remove duplicate values but keep the original order. Print the result space-separated.

Input

Space-separated integers.

Output

The list without duplicates.

Sample 1

Input
1 2 2 3 1 4
Output
1 2 3 4

Sample 2

Input
7 7 7
Output
7
solution.py
Output appears here
Hints
Remove Duplicates · Python practice problem · LearnPy Hub