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