set([input(i) for i in input().split(' ')]) code example Example: python map input list_of_inputs=list(map(int,input().split()))