const z='ZZZZZZ';w=z+z+z;var i,n:comp;begin read(n);writeln(w:n);for i:=0to n-2do write(w:(n-1)*ord(i=n-2),'Z ':n-i)end.
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page