using C=System.Console;class X{static void Main(){for(int n=0;(n+=C.Read())>0;)if(n>477)C.Write(487-n+"\n",n=0);}}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page