import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { static int minimumNumber(String password) { // Return the minimum number of characters to make the password strong int l=password.length(); int n=0; int count=0; for(int i=0;i=6) return n; n=n+(6-(l+n)); return n; } public static void main(String[] args) { Scanner in = new Scanner(System.in); int n = in.nextInt(); String password = in.next(); int answer = minimumNumber(password); System.out.println(answer); in.close(); } }