# include<iostream> using namespace std; int main() { int a,b,c,d; cin>>a>>b>>c>>d; cout<<(int)((c+d/10.0)/(a+b/10.0)); return 0; }