#include<bits/stdc++.h>
using namespace std;
int main(){
	int n,x,h;
	cin>>n>>x;
	n=n*1000;
	h=n/x;
	if (n%x!=0){
		h=h+1;
	}
	cout<<h<<endl;
	return 0;
}
/**************************************************************
	Problem: 1309
	User: xiaojingxuan
	Language: C++
	Result: Accepted
	Time:14 ms
	Memory:2072 kb
****************************************************************/