List = list(map(int,input().split())) List = sorted(List) if List[3] - List[0] == 3 and len(set(List)) ==4: print('Yes') else: print('No')