#include <stdio.h>
using namespace std;
int main() {
int n, x;
scanf("%d %d", &n, &x);
int max_cups = (n * 1000) / x;
printf("%d\n", max_cups);
return 0;
}
/**************************************************************
Problem: 1309
User: fuhoubin
Language: C++
Result: Wrong Answer
****************************************************************/