统计有多少数<=35即可。
//
// main.cpp
// RXD's date
//
// Created by wenhan on 2017/8/7.
// Copyright © 2017年 wenhan. All rights reserved.
//
#include <iostream>
#include <cstdio>
using namespace std;
int main() {
int t;
cin>>t;
int s=0;
int x;
while (t--) {
scanf("%d",&x);
if(x<=35)
s++;
}
cout<<s<<endl;
// insert code here...
//std::cout << "Hello, World!\n";
return 0;
}