import java.util.*; import java.math.*; public class pre { public static void main(String[] args) { Scanner s = new Scanner(System.in); int n = s.nextInt(); int num[] = new int[n]; for(int i=0;i