#include #include #include #include #include #include using namespace std; const double eps = 1e-7; double absolute(double x){ return (x>0)?x:(-x); } int main(){ int a,b,c,d; while(scanf("%d%d%d%d",&a,&b,&c,&d)!=EOF){ if(absolute(b*log10(a) - d*log10(c))'); } } return 0; }