#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, h;
  cin >> n >> h;
  int a[n];
  int ans = n;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] <= h)
      continue;
    else
      ans++;
  }
  cout << ans;
  return 0;
}
