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