/* No.908 うしたぷにきあくん文字列 https://yukicoder.me/problems/no/908 */ #include using namespace std; bool is_lower(char ch) { return 'a' <= ch && ch <= 'z'; } int main() { ios::sync_with_stdio(0); cin.tie(0); string s; cin >> s; for (size_t i = 1; i <= s.size(); i++) { if (i % 2 == 0) { if (!is_lower(s[i - 1])) { cout << "No" << endl; return 0; } } else { if (s[i - 1] != ' ') { cout << "No" << endl; return 0; } } } cout << "Yes" << endl; return 0; }