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