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