import java.io.IOException; import java.util.Arrays; import java.util.NoSuchElementException; public class Main{ public static void main(String[] args){ FastScanner sc = new FastScanner(); int N = sc.nextInt(); int[] A = new int[N]; for(int i=0;i