s = input() ans = "Yes" n = len(s) for i in range(1,n,2): if s[i] != ' ': ans="No" print(ans)