#include <bits/stdc++.h>
// #include <atcoder/all>
using namespace std;
using ll = long long;
using vi = vector<int>;
using vii = vector<vector<int>>;
using vl = vector<long long>;
using vll = vector<vector<long long>>;
#define _GLIBCXX_DEBUG
#define rep(i, s, n) for (int i = (int)s; i < (int)n; i++)
#define repr(i, n, s) for (int i = (int)n; (int)s < i; i--)
#define len(a) (int)a.size()
#define all(a) a.begin(), a.end()

const int INF32 = 1 << 30;
const long long INF64 = 1LL << 60;
const double PI = acos(-1);

/* 1次元ベクトルをスペースでつなぎ、改行をつけて出力 
   vi, vl, list<int>, list<ll>に対応  */
template<class T> string print_elements(T a) {
    string str = "";
    for (auto itr = a.begin(); itr != a.end(); ++itr) {
        str += to_string(*itr) + ' ';
    }
    str.pop_back();  // 最後の空白を削除
    str += '\n';
    return str;
}

int main() {
    int N, W;
    cin >> N >> W;
    cout << N / W << endl;
    
}

#include<iostream>
using namespace std;
int main()
{
  int n,w;
  cin>>n>>w;
  int i=1;
  int t=1;
  while(t<=n){
    t=w*i;
    i++;
  }
  cout<<i-2;
}