#include using namespace std; long long n, m; int main(void){ cin >> n >> m; long long a; a=floor(n/(m*1000)); cout<