import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Arrays; public class Solution { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); int[] ar = Arrays.stream(br.readLine().split(" ")).mapToInt(Integer::parseInt).toArray(); int min = 10000; Arrays.sort(ar); for (int i=0; i