import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { static int minimumNumber(int n, String password) { // Return the minimum number of characters to make the password strong } public static void main(String[] args) { Scanner in = new Scanner(System.in); int n = in.nextInt(); String password = in.next(); int answer = minimumNumber(n, password); System.out.println(answer); in.close(); char c; if (password.length() <= 6) { for (int i = 0; i <= password.length(); i++) { char x = password.charAt(i); if (Character.isUpperCase(x)) { if (Character.isLowerCase(x)) { if (Character.isDigit(x)) { c = 1; } } } } if (c == 1) System.out.println("STRONG"); else System.out.println("NOT STRONG"); } else System.out.println("HAVE AT LEAST 6 CHARACTERS"); } }