#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, width = 0, temp;
  cin >> n >> k;
  for (int i = 0; i < n; ++i) {
    cin >> temp;
    (temp > k) ? width += 2 : width++;
  }
  cout << width;
  return 0;
}
