checkers pattern by hirose

y,x=map(range,map(int,raw_input().split()))
for j in y:print" ".join(`~i+j&1`for i in x)

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top