System.in.splitEachLine(/\b/){_,n,l->(n as int).step(f=1,-l.count){f*=it} println f}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page