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