program asalben;
uses crt;
var x,i:integer;
asalsayi:boolean;
label b2;
BEGIN
clrscr;
writeln('SAYI OKUTUNUZ...Ltfen 2 den byk OLSUN!!!');
repeat
readln(x);
for i:=2 to x-1 do
begin
if not(x mod i=0 ) then
asalsayi:=true
else
begin
asalsayi:=false;
goto b2;
end;
end;
b2: if asalsayi then
writeln(x, ': ASAL SAYIDIR. ')
else
writeln(x, ' : ASAL SAYI DE¦˜LD˜R. ');
readkey;
until eoln
end.