#include using namespace std; using ll = long long; int main() { string s; cin >> s; int n = s.size(); bool ok = true; if (n > 32) { ok = false; } for (int i = 0; i < n; i++) { if ('A' <= s[i] && s[i] <= 'Z') { ok = true; } else if ('a' <= s[i] && s[i] <= 'z') { ok = true; } else if ('0' <= s[i] && s[i] <= '9') { ok = true; } else if (s[i] == '_' || s[i] == '-') { ok = true; } else { ok = false; } } if (s[0] == '_' || s[0] == '-' || s[n - 1] == '_' || s[n - 1] == '-') { ok = false; } if (ok) { cout << "200" << endl; } else { cout << "400" << endl; } }