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