r=io.read while""do x=r"*n"print(180-(x-r()+540)%360)end
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page