a, p, q = input().rstrip().split(" ") # nは入力回数 if a == "0" or p == q: print("No") else: print("Yes")