#include <bits/stdc++.h>
using namespace std;
int n, h;
int cnt;
int main() {
  cin >> n >> h;
  for (int e = 0; e < n; e++) {
    int in;
    cin >> in;
    if (in > h) {
      cnt += 2;
    } else {
      cnt++;
    }
  }
  cout << cnt;
}
