m = [i.lower() for i in input().split()]s = set(m)a = list(s)print(m)print(s)print(a)
3 4 5 6 7 8
['3', '4', '5', '6', '7', '8'] {'4', '8', '7', '3', '6', '5'} ['4', '8', '7', '3', '6', '5']
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!