Program HOC24;
var a: array[1..32000] of integer;
i,n,d: integer;
begin
write('Nhap so hoc sinh : '); readln(n);
for i:=1 to n do
begin
write('Nhap diem tin cua ban thu ',i,' : '); readln(a[i]);
end;
d:=0;
for i:=1 to n do if a[i]>5 then d:=d+1;
write('Co ',d,' hoc sinh co tren 5 diem');
readln
end.