#include <cctype> #include <iostream> using namespace std; int main() { string strcode; cin>>strcode; int score=0; // if(strcode.size()<=4)score+=5; else if(strcode.size()<=7)score+=10; else score+=25; string subcode=""; int flag; for(int i=0;i<strcode.size();i++){ if(isalpha(strcode[i])){ subcode+=strcode[i]; flag=1; } } if(flag){ int x1=0,x2=0; for(int i=0;i<subcode.size();i++){ if(subcode[i]>='A'&& subcode[i]<='Z')x1++; if(subcode[i]>='a'&& subcode[i]<='z')x2++; } if(x1==subcode.size()||x2==subcode.size())score+=10; if(x1!=0&&x2!=0)score+=20;} int s=0; for(int i=0;i<strcode.size();i++){ if (strcode[i]>='0'&&strcode[i]<='9'){ s++;} } if(s==0){}else if(s==1){score+=10;}else score+=20; int f=0; for(int i=0;i<strcode.size();i++){ if(isalpha(strcode[i])){} else if (isalnum(strcode[i])){} else f++; } if(f==0){}else if(f==1){score+=10;}else score+=25; int a1=0,a2=0,a3=0,a4=0; for(int i=0;i<strcode.size();i++){ if(isalpha(strcode[i])){ if(strcode[i]>='a'&& strcode[i]<='z'){a1=1;}else a2=1; } else if (isalnum(strcode[i])){a3=1;} else a4=1; } if((a1==1 && a2==1)&&a3==1 &&a4==1){ score+=5; }else if((a1==1 ||a2==1)&&a3==1 &&a4==1){ score+=3; }else if((a1==1 || a2==1)&&a3==1){ score+=2; } if(score>=90){ cout<<"VERY_SECURE"; }else if( score>=80){ cout<<"SECURE"; }else if( score>=70){ cout<<"VERY_STRONG"; }else if( score>=60){ cout<<"STRONG"; }else if( score>=50){ cout<<"AVERAGE"; }else if( score>=25){ cout<<"WEAK"; }else if( score>=0){ cout<<"VERY_WEAK"; } } // 64 位输出请用 printf("%lld")