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