#include using namespace std; int main(){ long long N,M; cin >> N >> M; if(N / M >= 1000) cout << N/M << endl; else cout << 0 << endl; }