N,M=map(int,input().split()) if Mx*y: print("NO") exit() print("YES") A=[0]*N for i in range(N): if i