import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; import java.io.IOException; import java.util.Scanner; class TestClass { int n; public static void main(String[] args) throws IOException { try ( Scanner scanner = new Scanner(System.in)) { scanner.nextLine(); String word = scanner.nextLine(); charac(word); n=word.length(); /*if(word.length()>=6) { if (charac(word)) { System.out.println("YES"); } else { System.out.println("NO"); } } else { System.out.println("NO"); }*/ } } static void charac(String word) { boolean hasUpper = false; boolean hasLower = false; boolean hasDigit = false; for(int i =0; i < n; ++i) { if( islower(word[i]) ) hasLower = true; if( isupper(word[i]) ) hasUpper = true; if( isdigit(word[i]) ) hasDigit = true; } if(hasLower && hasUpper && hasDigit) { printf("Strong Password\n"); } else { printf("Weak Password\n"); } } }