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