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