S=[] System.in.eachLine{i=j=0 e=it.any{x=(int)it%87 j++ x%4?(S[i--]^x)>2:!(S[++i]=x)} println(i||e?'failed at: '+(!e?'EOL':it[j-1..-1]):'yes')}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page