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 to the top page