Program hotrotinhoc_hoc24;
var i,n: integer;
a: array[1..32000] of integer;
begin
write('Nhap so phan tu : '); readln(n);
for i:=1 to n do
begin
write('a[',i,']='); readln(a[i]);
end;
write('Cac so co gia tri lon hon 5 la : ');
for i:=1 to n do if a[i]>5 then write(a[i],' ');
readln
end.