enum X{X;System z;int a,b,c;{try{for(;;z.out.printf((c==10?"th st nd rd".split(" ")[a==49|b>51?0:b%4]:"")+"%2$c",a=b,b=c))c=z.in.read();}catch(Exception e){}}}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page