#include<bits/stdc++.h> using namespace std; int main(){ int h,d,i=0,s=0; cin>>h>>d; while(h>s){ s=s+d; i++; } cout<<i+4; return 0; }