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