mylist = [] for i in range(10): mylist.append(int(input())%42) print(mylist) print(set(mylist)) print(len(set(mylist)))