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