#include <bits/stdc++.h>
using namespace std;
int main() {
  int i, a, b, c = 0, d, j = 0, f = 0;
  int k, t;
  cin >> b;
  cin >> a;
  for (i = 0; i < b; i++) {
    cin >> d;
    if (d > a) {
      c = c + 2;
    } else
      c = c + 1;
  }
  cout << c << endl;
}
