import java.io.*; import java.util.Arrays; import java.util.Scanner; import java.util.StringTokenizer; import java.lang.Math; public class ADALAb3 { public static void main(String[] args) throws IOException { BufferedReader input=new BufferedReader(new InputStreamReader(System.in)); String n1=input.readLine(); int n2=Integer.parseInt(n1); String s1=input.readLine(); int[] array=new int[n2]; StringTokenizer str=new StringTokenizer(s1); for(int p=0;p