#include using namespace std; using ll = long long; int main() { ios::sync_with_stdio(false); cin.tie(0); string s; cin >> s; for(auto &&c : s){ if('A' <= c && c <= 'Z') continue; if('a' <= c && c <= 'z') continue; if('0' <= c && c <= '9') continue; if(c == '_' || c == '-') continue; cout << "400\n"; return 0; } if(s[0] == '_' || s[0] == '-'){ cout << "400\n"; return 0; } if(s.back() == '_' || s.back() == '-'){ cout << "400\n"; return 0; } cout << "200\n"; }