#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#define f first
#define s second
#define all(v) (v).begin(),(v).end()
#define rall(v) (v).rbegin(),(v).rend()
const int inf = 2e9;
const ll infll = 1e18;
const int M = 1000000007;
const int N = 1e5;
int main(){
int a ,b;
cin >> a >> b;
cout << (a+b)/b -1 << endl;
}