#include <bits/stdc++.h>
#pragma GCC optimize(2)
using namespace std;
const int maxn = 5e5 + 100;
int ver[maxn], edge[maxn], head[maxn], nxt[maxn], tot = 1;
int deg[maxn];
int n, m;
string ans;
int main() {
  int n, h;
  cin >> n >> h;
  int ans = 0;
  for (int i = 1; i <= n; i++) {
    int tmp;
    cin >> tmp;
    if (tmp > h)
      ans += 2;
    else
      ans++;
  }
  printf("%d", ans);
}
