numbers = [2,3,5,7]
for i in range(2,101):
if i%2!=0 and i%3!=0 and i%5!=0 and i%7!=0:
numbers.append(i)
print(len(numbers))
for number in numbers:
print(number)
numbers = [2,3,5,7]
for i in range(2,101):
if i%2!=0 and i%3!=0 and i%5!=0 and i%7!=0:
numbers.append(i)
print(len(numbers))
for number in numbers:
print(number)