#include <bits/stdc++.h>
using namespace std;
int main() {
  int h, n, a, c = 0;
  cin >> n >> h;
  for (int l = 0; l < n; ++l) {
    cin >> a;
    if (a <= h) {
      c++;
    } else
      c += 2;
  }
  cout << c << endl;
  return 0;
}
