import java.util.Scanner; public class Main { static String check(int[] a, int n){ for(int i=0;i