#include <bits/stdc++.h>
int main() {
  int n, h;
  std::cin >> n >> h;
  int count = 0;
  for (int i = 0; i < n; i++) {
    int m;
    std::cin >> m;
    if (m > h)
      count += 2;
    else
      count++;
  }
  std::cout << count;
  return 0;
}
