uses crt;
const fi='dl.txt';
var f1:text;
a,b,c,kq:integer;
{---------------------------chuong-trinh-con-doc-tep------------------------}
procedure docfile;
begin
assign(f1,fi); reset(f1);
readln(f1,a,b,c);
end;
{---------------------------chuong-trinh-con-tim-gtln-----------------------}
function gtln(n,m:integer):integer;
begin
gtln:=n;
if gtln<m then gtln:=m;
end;
{---------------------------chuong-trinh-chinh------------------------------}
begin
clrscr;
docfile;
kq:=gtln(a,b);
if kq<c then kq:=c;
writeln(kq);
close(f1);
readln;
end.