#define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <string>
#include <cstdio>
using namespace std;
int main() {
int n, h;
cin >> n >> h;
int ans = 0;
int a;
for (int i = 1;i <= n;++i) {
scanf("%d", &a);
if (a <= h) {
ans++;
}
else {
ans += 2;
}
}
cout << ans << endl;
//system("pause");
return 0;
}