a,p,q=input().split() print(["No","Yes"][p!=q])