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