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