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