duplicate certain lines _A_ by kaki

s=gets.split.map &:to_i;$<.map{|l|puts s.find{|i|i==$.-1}?l+l:l}

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

download

return top