System.in.eachLine{v,i->for(g=907;v.split()*.toLong().any{it%g};)g--;i%2*2%i&&println(g)}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page