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