a, p, q = input().split() if p == q: print("No") else: print("Yes")