import java.util.Arrays; import java.util.Scanner; public class Answer { public static void main(String str[]) { Scanner sc = new Scanner(System.in); int num = Integer.valueOf(sc.nextLine()); int[] input = new int[num]; for(int i=0; i