#include <bits/stdc++.h>
using namespace std;
int main() {
  int numsPersons;
  int wall;
  int person;
  int count = 0;
  cin >> numsPersons;
  cin >> wall;
  for (int i = 0; i < numsPersons; i++) {
    cin >> person;
    if (person <= wall) {
      count += 1;
    } else {
      count += 2;
    }
  }
  cout << count;
}
