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