s = input() for i in range(0, int(len(s)/2)): if(s[i*2+1]!=" "): print("No") exit() print("Yes")