S = input() flag = True for i in range(1,len(S),2): if S[i] != " ": flag = False break if flag: print("Yes") else:print("No")