Do it ANOTHER by nn

("$System.in"=~/.+\n(.+)\b/).any{a,b->println~(0..6).sum{' _-'[a[it]-0?2:b[it]as int]}}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page