-module(p). -export([m/0]). m()->{_,[X,Y]}=io:fread('',"~d~d"),[io:format([(N+M)rem 2+48,if M32;0<1->10end])||N<-lists:seq(0,X-1),M<-lists:seq(1,Y)].