import java.util.Scanner; public class Main { public static void main(String[] args) { long n,count=0,counter=0,count1=0; int n1; Scanner sc =new Scanner(System.in); n = sc.nextLong(); n1 = (int)n; String str; str = sc.next(); if(str.length()!=n) { System.out.println( "Invalid input"); } for(int i=0;i