#include <iostream>

int main() {
    int b=0;
    using namespace std;
    int n,l;
    cin>>n>>l;
    for (int i=0;i<n+1;){
        b=b+1;
        int h;
        cin>>h;
        if (h<=l){
            cout<<b;
            exit(0);
        }
        
    }
    return 0;
}