/* No.908 うしたぷにきあくん文字列 https://yukicoder.me/problems/no/908 */ #include using namespace std; bool is_lower(char ch) { return 97 <= (int)ch && (int)ch <= 122; } int main() { ios::sync_with_stdio(0); cin.tie(0); string s; cin >> s; for (size_t i = 0; i < s.size(); i++) { 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; }