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