a, b, c = io.read():match("(%d+) (%d+) (%d+)") print(b == c and "No" or "Yes")