Y by Roy van Rijn

class h{public static void main(String[]a)throws Exception{int x=0,y;for(;(y=System.in.read())>0;x++)if(y=='Y')System.out.println(x);}}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page