(= a(read)b(read))(for i 1 a(for j 1 b(pr(mod(+ 1 i j)2)(if(> b j)" "" "))))