gets=~/ / gets eval"$<.map{|s|s.chop.chars}#{'.reverse.transpose'.*$`.to_i/2}.map{|s|puts [s.map{|c|c*#$'}*'']*#$'}"