Two coins by yusukezzz

$<.map{|x|a=x.split;a.map!{|x|x.to_i-1};p a[0]*a[1]-1}

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

download

return top