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