S = input() for i in range(len(S)): if i%2: if S[i] != " ": print("No") exit() else: if S[i] != S[i].lower(): print("No") exit() print("Yes")