#include using namespace std; int main() { int i; string s; getline(cin,s); for(i=0; i='a' && s[i]<='z'){ }else if(i%2==1 && s[i]==' '){ }else{ cout << "No" << endl; return 0; } } cout << "Yes" << endl; return 0; }