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