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