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