#include using namespace std; using ll = long long; using ull = unsigned long long; #define rep(i,a,b) for (int i=a; i=b; i--) #define fore(i,a) for(auto &i:a) #define pb push_back #define _GLIBCXX_DEBUG template inline bool chmin(T& a, const T& b) {bool c=a>b; if(a>b) a=b; return c;} template inline bool chmax(T& a, const T& b) {bool c=a inline T gcd(T a,T b) {return (b==0)?a:gcd(b,a%b);} template inline T lcm(T a, T b) {return (a*b)/gcd(a,b);} const int inf = INT_MAX / 2; const ll infl = 1LL << 60; using vi = vector; using vvi = vector>; using vvvi = vector>>; using vll = vector; using vvll = vector>; using vvvll = vector>>; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); bool flag = true; string S; cin >> S; int l = S.length(); if(l >= 33 or S.at(0) == '_' or S.at(0) == '-' or S.at(l-1) == '_' or S.at(l-1) == '-'){ flag = false; } else{ rep(i,0,l){ char s = S.at(i); int si = (int)s; if(si == 45 or (48 <= si and si <= 57) or (65 <= si and si <= 90) or si == 95 or (97 <= si and si <= 122)){ continue; } else{ flag = false; break; } } } if(flag){ cout << 200 << endl; } else{ cout << 400 << endl; } cout << fixed << setprecision(30); return 0; }