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