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