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