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