#include<iostream>
using namespace std;
int main() {
int n, nr = 0;
cin >> n;
float mg;
for (int i = 1; i <= n; i++) {
cin >> mg;
if (mg > 9.50)
nr++;
}
cout << nr;
return 0;
}
var
n,i,nr: integer;
mg: real;
begin
nr:=0;
read(n);
for i:=1 to n do
begin
read(mg);
if mg>9.50 then
nr:=nr+1;
end;
writeln(nr);
end.
citeste n
|-pentru i<-1,n executa
| citeste mg
| |-daca mg>9,50 atunci
| | nr<-nr+1
| |_
|_
scrie nr