#include #include #include #include #include #include #include #include #include #include #include #include #include #define p(s) cout<<(s)<=n;i--) #define CK(n,a,b) ((a)<=(n)&&(n)<(b)) #define F first #define S second typedef long long ll; using namespace std; const int inf = 1e9+7; int N; int a,K; int main() { cin>>N>>K; int rank=1; p(rank); REP(i,1,N){ cin>>a; if(a>K){ rank++; } p(rank); } return 0; }