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