uses crt;
var a,b,ln,nn:integer;
begin
clrscr;
write('a='); readln(a);
write('b='); readln(b);
ln:=a;
nn:=a;
if (a>=0) and (b>=0) then
begin
if a>b then
begin
ln:=a;
nn:=b;
end;
if b>a then
begin
ln:=b;
nn:=a;
end;
writeln('so nho nhat la: ',nn);
writeln('so lon nhat la: ',ln);
end
else writeln('vui long nhap hai so tu nhien');
readln;
end.