10 a=1
20 div=2
40 if a % div = 0 then goto 75
50 div=div+1
55 if div<a then goto 40
60 print a
70 print " "
75 a=a+1
80 if a<30000 then goto 20
