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

int main(){
  int n,w;
  cin >> n >> w;
  cout << n/w << endl;
}
#include <bits/stdc++.h>

using namespace std;

typedef unsigned long long ull;

int main(){
	int a, mf;
	cin >> a >> mf;
	int ms = a + mf;
	if (ms >= 15 && mf >= 8)
		cout << 1;
	else if (ms >= 10 && mf >= 3)
		cout << 2;
	else if (ms >= 3)
		cout << 3;
	else
		cout << 4;
	return 0;
}
