/* 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; getline(cin, s); for (size_t i = 0; i < s.size(); i++) { // even if (i % 2 == 0) { if (!is_lower(s[i])) { cout << "No" << endl; return 0; } } else { if (s[i] != ' ') { cout << "No" << endl; return 0; } } } cout << "Yes" << endl; return 0; }