17 lines
304 B
C++
17 lines
304 B
C++
|
|
#include <bits/stdc++.h>
|
||
|
|
|
||
|
|
using namespace std;
|
||
|
|
const int N = 15;
|
||
|
|
int a[N], height;
|
||
|
|
int cnt;
|
||
|
|
int main() {
|
||
|
|
for (int i = 1; i <= 10; i++) cin >> a[i];
|
||
|
|
cin >> height;
|
||
|
|
|
||
|
|
for (int i = 1; i <= 10; i++)
|
||
|
|
if (a[i] <= height + 30) cnt++;
|
||
|
|
|
||
|
|
cout << cnt << endl;
|
||
|
|
return 0;
|
||
|
|
}
|