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