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