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