#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, h, t, sum = 0;
  cin >> n >> h;
  while (n--) {
    cin >> t;
    if (t > h)
      sum += 2;
    else
      sum += 1;
  }
  cout << sum << endl;
  return 0;
}
