#include <bits/stdc++.h>
using namespace std;
int main() {
  int arr[1000];
  int n, h, road = 0;
  cin >> n >> h;
  for (int i = 0; i < n; i++) {
    cin >> arr[i];
  }
  for (int i = 0; i < n; i++) {
    if (arr[i] > h) {
      road += 2;
    } else if (arr[i] <= h) {
      road += 1;
    }
  }
  cout << road;
  return 0;
}
