#include "bits/stdc++.h"
using namespace std;

using ll = long long;

signed main(){
	ll n,x;
	cin >> n >> x;

	cout << (n/x) << "\n";
	return 0;
}
#include<bits/stdc++.h>
using namespace std;
#define ll long long

int main()
{
  ll n,w,t=0,cnt=0;
  cin>>n>>w;
  while(t<=n)
  {
    t+=w;
    cnt++;
  }
  cout<<cnt-1<<endl;
  return 0;
}
