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