label 1;var i,j:word=3;begin repeat for i:=2to j-1do if j*(j+2)mod i=0then goto 1;writeln(j,',',j+2);1:inc(j)until j=1998end.