#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long int n, h, count = 0, width;
  cin >> n >> h;
  long long int a[n];
  for (long long int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] > h) {
      count++;
    }
  }
  width = (n - count) + (count * 2);
  cout << width;
  return 0;
}
