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