program thefirstprograms;
uses crt;
var a,b,c:longint;
begin
clrscr;
write('Nhap so thu nhat ');readln(a);
write('Nhap so thu hai ');readln(b);
write('Nhap so thu ba ');readln(c);
if (a>b) and (a>c) then writeln(a,' la so lon nhat')
else if (b>a) and (b>c) then writeln(b,' la so on nhat')
else if (c>a) and (c>b) then writeln(c,' la so lon nhat')
else (a=b=c) then writeln('Ba so bang nhau');
readln
end.