import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class No0083 { public static void main(String[] args){ try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){ int n = Integer.parseInt(br.readLine()); String str = new String(); for(int i=0; i