文件目录

#include <iostream>
using namespace std;
int main()
{
    int a[10] = {};
    for (int i = 0; i < 10; i++)
        cin >> a[i];
    int h;
    cin >> h;
    h += 30;
    int ans = 0;
    for (int i = 0; i < 10; i++)
        if (h >= a[i])
            ans++;
    cout << ans;
    return 0;
}