#include<iostream> using namespace std; int main(){ int a,b,c,d; int e,f; cin>>a>>b>>c>>d; e = c*10+b; f = a*10+b; cout<<e/f<<endl; return 0; }