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