C++ 代码
#include<bits/stdc++.h>
#define ll long long
#define ull unsigned long long
#define pii pair<int,int>
#define pll pair<ll,ll>
#define reg register
#define il inline
#define pb push_back
#define mp make_pair
#define mem(x,y) memset(x,y,sizeof(x))
#define freops(x,y) freopen(x,"r",stdin),freopen(y,"w",stdout)
#define fcloses() fclose(stdin),fclose(stdout)
#define _for(i,a,b) for(int i=(a);i<=(b);++i)
#define __for(i,a,b) for(int i=(a);i>=(b);--i)
using namespace std;
#define INF 0x3f3f3f3f
#define INFLL 0x3f3f3f3f3f3f3f3f
#define MOD 1000000007
#define MODLL 1000000007000000007
const double PI = 3.14, e = 2.72, eps = 1e-7;
const int MAXN = 20010, MAXM = 20010;
int main(){
//freops("x.in","x.out");
int n;
cin>>n;
int a[n+1];
_for(i,1,n) cin>>a[i];
int ans = 0;
_for(i,1,n){
if (a[i] > 90 && a[i] < 180) ans++;
}
cout<<ans<<endl;
//fcloses();
return 0;
}