Uses crt;
Var a:array[1..100] of integer;
n,i,max:integer;
Begin
clrscr;
Write('Nhap so phan tu cua mang:'); Readln(n);
For i:=1 to n do
Begin
Write('Nhap a[',i,']:');
Readln(a[i]);
End;
max:=a[1];
For i:=2 to n do
begin
if max<a[i] then max:=a[i];
end;
Writeln('Phan tu lon nhat cua day la: ',max);
end.