S = input() l = list(map(str,S.split())) # print(len(S),len(l)) if (len(S) + 1)// 2 == len(l) and (len(S) % 2) == 1: print("Yes") else: print("No")