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