#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b;
  cin >> a >> b;
  a--;
  int ans = 1;
  int temp;
  while (a--) {
    cin >> temp;
    if (temp >= b) ans++;
  }
  cout << ans;
  return 0;
}
