uses crt;
var a,b:integer;
procedure min(var x,y:integer);
begin
if x>y then writeln('so nho nhat la: ',y)
else if x<y then writeln('so nho nhat la: ',x)
else writeln('hai so bang nhau');
end;
begin
clrscr;
write('a='); readln(a);
write('b='); readln(b);
min(a,b);
readln;
end.