a,b,c=input().split() if b==c: print("No") else: print("Yes")