#include using namespace std; using ll = long long; using ld = long double; using ull = unsigned long long; #define rep(i,n) for(ll i=0;i T div_floor(T a, T b) { return a / b - ((a ^ b) < 0 && a % b); } template T div_ceil(T a, T b) { return a / b + ((a ^ b) > 0 && a % b); } template inline bool chmin(T &x, U y) { return (y < x) ? (x = y, true) : false; } template inline bool chmax(T &x, U y) { return (x < y) ? (x = y, true) : false; } template ostream &operator<<(ostream &os, const vector &a){ if (a.empty()) return os; os << a.front(); for (auto e : a | views::drop(1)){ os << ' ' << e; } return os; } void dump(auto ...vs){ ((cout << vs << ' '), ...) << endl; } void solve() { string S; cin>>S; ll N=S.size(); auto check_letter=[&](char c){ if ('A'<=c and c<='Z')return true; if ('a'<=c and c<='z')return true; if ('0'<=c and c<='9')return true; if (c=='_' or c=='-')return true; return false; }; if (S[0]=='_' or S[0]=='-' or S[N-1]=='_' or S[N-1]=='-' or S.size()>32){ cout<<400<<'\n'; } else{ for (char c:S){ if (!check_letter(c)){ cout<<400<<'\n'; return; } } cout<<200<<'\n'; return; } return; } int main() { cin.tie(0)->sync_with_stdio(0); ll T=1; while (T--){ solve(); } return 0; }