P = list(map(int, input().split())) n = len(P) num = len(set(P)) if n != num: print("No") else: print("Yes")