n=gets.to_i;a=Array.new(n){|y|Array.new(n){|x|"#{[x,y]}"}};(n+n-1).times{$*<<a.pop;a=a.reverse.transpose};puts$**' '
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page