题意:比较a^b和c^d的大小 1<=a,b,c,d<=1000
#include<cstdio>
#include<cstring>
#include<iostream>
#include<algorithm>
#include<cstdlib>
#include<cmath>
#include<vector>
#include<queue>
#include<map>
#define eps (1e-8)
using namespace std;
typedef long long ll;
int main()
{
double a,b,c,d,x,y;
while(~scanf("%lf%lf%lf%lf",&a,&b,&c,&d))
{
x = b*log(a);
y = d*log(c);
if(fabs(b*log(a)-d*log(c))<eps) puts("=");
else if(x>y) puts(">");
else puts("<");
}
return 0;
}