#include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); string S; cin >> S; for (int i = 0; i < (int)S.size(); i++) { if (i % 2 == 0 && !('a' <= S[i] && S[i] <= 'z')) { cout << "No" << '\n'; return 0; } else if (i % 2 == 1 && S[i] != ' ') { cout << "No" << '\n'; return 0; } } cout << "Yes" << '\n'; return 0; }