for(c<-" "*27;a=readLine split" |,")println(a(0)+c+(a.tail.mkString.toInt/10000+2)+" joints")
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page