#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, h;
  int i, j, k;
  scanf("%d %d", &n, &h);
  int f, ans = 0;
  for (i = 1; i <= n; i++) {
    scanf("%d", &f);
    if (f <= h)
      ans++;
    else
      ans += 2;
  }
  printf("%d\n", ans);
}
