#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, h, ai, c, sum = 0;
  cin >> n >> h;
  for (int c = 1; c <= n; c++) {
    cin >> ai;
    if (ai <= h) {
      sum += 1;
    } else
      sum += 2;
  }
  cout << sum;
  return 0;
}
