main(a,b){float c;for(;scanf("%d",&a)+1;)for(b=c=500;printf("%d %s\n",b,b-a?b>a?">":"<":"=\n"),b-a;b+=0.5+(b>a?-c:c))c/=2;}