#include <bits/stdc++.h>
#pragma warning(disable : 4996)
using namespace std;
int IT_MAX = 4096;
const long long MOD = 1000000007;
const int INF = 1034567890;
const long long LL_INF = 1234567890123456789ll;
const double PI = acos(-1);
const long double ERR = 1E-10;
int main() {
  int N, H, i, ans = 0;
  scanf("%d %d", &N, &H);
  while (N--) {
    scanf("%d", &i);
    if (i <= H)
      ans++;
    else
      ans += 2;
  }
  return !printf("%d\n", ans);
}
