p,q = input().split() p = float(p) q = float(q) print("YES" if 1-p