import std.stdio;

void main()
{
	int n, h, x;
	int result = 0;
	
	scanf("%d%d", &n, &h);
	for (int i = 0; i < n; i++) {
		scanf("%d", &x);
		result += (x > h) ? 2 : 1;
	}
	printf("%d\n", result);
}

