#include <iostream>

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