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