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}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page