import java.util.Arrays; import java.util.Scanner; public class Main{ static Scanner s = new Scanner(System.in); public static void main(String[] args) { int[] ar=new int[s.nextInt()]; for(int i=0;i