#include<iostream>
using namespace std;
int main()
{
int n,h;
cin>>n>>h;
int count =0;
for(int i=0;i<n;i++)
{
int temp;
cin>>temp;
if(temp>h)
{
count+=2;
}
else
{
count++;
}
}
cout<<count<<endl;
}
Add your comment