1 a = [] 2 b = [] 3 n = input('Enter some numbers:').split() 4 5 c = [int(j) for j in n] 6 7 for s in c: 8 for i in range(2, s): 9 if s % i == 0: 10 a.append(s) 11 break 12 else: 13 b.append(s) 14 print(a) 15 print(b)