x="":x;main=interact$unlines.reverse.foldr(zipWith(:))x.lines