System.in.eachLine{int n=m=500 for(t=it as int;println("$n ${t-n?' ><'[_=n<=>t]:'=\n'}")||t-n;n+=0.5-m*_)m/=2}