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