for _ in [0]*int(input().split()[1]): if eval(input().replace(" ","-"))<0: print("No") break else: print("Yes")