import java.io.*; import java.util.*; public class Main { static char[] a; public static void main(String[] args) throws IOException { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int n=Integer.parseInt(br.readLine()); StringTokenizer st=new StringTokenizer(br.readLine()); a=new char[n]; for(int i=0;i list=new ArrayList<>(); for(i=0;i