System.in.eachLine{l->6.times{(a,b)=it?[b,b+a]:l.split();l+=" $b$a"} println l}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page