#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, K, c;
  cin >> N >> K;
  int a[N];
  for (int i = 0; i < N; i++) {
    cin >> a[i];
  }
  c = (N - 1) / K + 1;
  cout << c << endl;
  return 0;
}
