#include #include #include using namespace std; int main() { string S; cin >> S; int N = S.length(); if (N < 1 || N > 32) { cout << 400 << endl; return 0; } for (char c : S) { bool ok = false; if (isalnum(c)) ok = true; if (c == '_' || c == '-') ok = true; if (!ok) { cout << 400 << endl; return 0; } } if (S[0] == '_' || S[0] == '-' || S[N - 1] == '_' || S[N - 1] == '-') { cout << 400 << endl; return 0; } cout << 200 << endl; return 0; }