#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int m;
  cin >> m;
  int l;
  int counter = 0;
  for (int i = 0; i < n; i++) {
    cin >> l;
    if (l <= m) {
      counter++;
    }
    if (l > m) {
      counter = counter + 2;
    }
  }
  cout << counter;
}
