#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, h, i, k, result = 0;
  vector<int> p;
  cin >> n >> h;
  for (i = 0; i < n; i++) {
    cin >> k;
    p.push_back(k);
  }
  for (i = 0; i < n; i++) {
    if (p[i] <= h) {
      result += 1;
    } else {
      result += 2;
    }
  }
  cout << result << endl;
}
