gets stdin n;while {[puts $n]<1} {set n [expr int($n-pow(10,int(log($n)/2.4)))]}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page