val s=""++io.Source.stdin for(t<-s split' ';i=s(2)%3)println(("NO YES No Yes no yes"split' ')(i*2+(Seq(16,24,19)(i)+"578"count(t.last==))))
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page