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