#include using namespace std; int main() { int A, B, C, D; cin >> A >> B >> C >> D; if ((D - (A + (B * C))) > 0) { cout << B / C << endl; } else { cout << 0 << endl; } }