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