#include using namespace std; const int N = 20; int a[N]; int main() { int b, B; for (int i = 1; i <= 10; i++) cin >> a[i]; cin >> b;//陶陶把手伸直的时候能够达到的最大高度。 B = b + 30; int cnt = 0; for (int i = 1; i <= 10; i++) if (a[i] <= B) cnt++; cout << cnt; return 0; }