#include using namespace std; typedef long long ll; #define all(x) (x).begin(),(x).end() const int mod=1000000007,MAX=1<<17,INF=1<<30; int main(){ char a; bool ok=true; int cnt=0; while(cin>>a){ if(cnt%2==0) if(a==' ') ok=false; else if(cnt%2==1) if(a!=' ') ok=false; cnt++; } if(ok) cout<<"Yes"<