#include <bits/stdc++.h>
int main() {
  int n, h, a[2000], sum, i;
  while (scanf("%d%d", &n, &h) != EOF) {
    sum = 0;
    for (i = 0; i < n; i++) scanf("%d", &a[i]);
    for (i = 0; i < n; i++) {
      if (a[i] <= h)
        sum = sum + 1;
      else
        sum = sum + 2;
    }
    printf("%d", sum);
  }
  return 0;
}
