#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, h, width = 0;
  cin >> n;
  cin >> h;
  int arr[n];
  for (int a = 0; a < n; a++) {
    cin >> arr[a];
    if (arr[a] > h) {
      width += 2;
    } else {
      width++;
    }
  }
  cout << width;
  return 0;
}
