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