#include<bits/stdc++.h> //#define int long long const int N=1e8+10; using namespace std; int n,x,y,a[N],b,ans=0,l,m,k; int s1[N],s2[N]; map<int,int>mp; signed main() { cin>>n>>b; for(int i=1;i<=n;i++) { cin>>a[i]; if(a[i]<b)a[i]=-1;//小于...