#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, h;
  cin >> n >> h;
  int s = 0;
  int k = 0;
  for (int i = 1; i <= n; i++) {
    cin >> k;
    if (k <= h) {
      s++;
    };
    if (k > h) {
      s = s + 2;
    };
  }
  cout << s << endl;
  return 0;
}
