input""a,b for i=1to a for j=1to b-1c=mod(i+j,2) ?!c," ";next ?c next