#include #include #define _GLIBCXX_DEBUG using namespace std; using ll = long long; bool isValidCustomString(const string& text) { // 1文字以上32文字以下 // 先頭と末尾は英数字のみ // 中間は英数字、アンダースコア、ハイフンを許可 static const regex pattern("^[A-Za-z0-9]([A-Za-z0-9_-]{0,30}[A-Za-z0-9])?$"); return regex_match(text, pattern); } int main() { string S; cin >> S; if(isValidCustomString(S)){ cout << 200 << endl; }else{ cout << 400 << endl; } return 0; }