#include <bits/stdc++.h>
#pragma comment(linker, "/stack:16777216")
using namespace std;
const int INF = 1000000000;
const int MAX = 107;
const int MAX2 = 207;
const int BASE = 1000000000;
const int CNT = 500;
const int MOD = 1000000007;
int main() {
  int n, h;
  cin >> n >> h;
  int x;
  int ans = 0;
  for (int i = (0); i < (n); ++i) {
    cin >> x;
    if (x <= h)
      ans++;
    else
      ans += 2;
  }
  cout << ans;
  return 0;
}
