#include <bits/stdc++.h>
using namespace std;
int main() {
  int x, h, y, count = 0;
  cin >> x >> h;
  for (int i = 0; i < x; i++) {
    cin >> y;
    if (y <= h)
      count++;
    else
      count += 2;
  }
  cout << count << endl;
  return 0;
}
