#include <bits/stdc++.h>
using namespace std;
void testCode() {
  int n, h;
  cin >> n >> h;
  int count = 0;
  for (int i = 0; i < n; i++) {
    int h1;
    cin >> h1;
    if (h1 > h) {
      count += 2;
    } else
      ++count;
  }
  cout << count;
}
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  testCode();
  return 0;
}
