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