#include<bits/stdc++.h>
using namespace std;
void solve(){
int n,m;
cin>>n>>m;
int dif = n-m;
cout<<(dif/m) + 1;
}
int main(){
ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);
#ifndef ONLINE_JUDGE
freopen("input.in","r",stdin);
#endif
int tt = 1;
// cin>>tt;
while(tt--)
solve();
}