- C20250037's blog
A1103
- 2022-10-31 12:19:39 @
#include<iostream>
using namespace std;
int main(){
int a[10],n,sum;
for(int i=1;i<=10;i++){
cin>>a[i];
}
cin>>n;
for(int i=1;i<=10;i++){
if(n+30>=a[i])
sum++;
}
cout<<sum;
return 0;
}