import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; public class Main { public static void main(String[] args)throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); String line[] = br.readLine().split(" "); int[] a = new int [n]; for (int i=0;i a[q]){ // int temp = a[p]; // a[p] = a[q]; // a[q] = temp; // } // } // } // } Arrays.sort(a); System.out.print(a[0]); for(int i=1; i