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