a,b = map(int,input()) if b < 0: print("Yes" if a < -b else "No") else: print("Yes" if a < b else "No")