#include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); string S; cin >> S; bool ok = true; // 長さチェック if (S.size() < 1 || S.size() > 32) ok = false; // 使用可能文字チェック for (char c : S) { if (!(('A' <= c && c <= 'Z') || ('a' <= c && c <= 'z') || ('0' <= c && c <= '9') || c == '_' || c == '-')) { ok = false; } } // 先頭・末尾チェック if (S.front() == '_' || S.front() == '-' || S.back() == '_' || S.back() == '-') { ok = false; } cout << (ok ? 200 : 400) << '\n'; return 0; }