#include<iostream>
#include<algorithm>
using namespace std;
int n, m, a, b;
int main(){
while(cin >> n >> m >> a >> b){
if(min(n / a, m / b) == 0){
cout << "Blind my dog eyes.";
}else{
cout << min(n / a, m / b);
}
cout << endl;
}
return 0;
}
//presented by 大吉大利,今晚AC