#include<iostream> using namespace std; int main() { int a,b,sum=1; cin>>a>>b; sum+=a/b; if(a%b>1) cout<<sum+1; else cout<<sum; return 0; }