import java.lang.reflect.Array; import java.util.Arrays; import java.util.Scanner; public class Main { int n,m,mod; int[] b; public static void main(String[] args){ new Main().ans(); } int sum=0; private void ans() { Scanner sc = new Scanner(System.in); n =sc.nextInt(); b= new int[n]; for(int i=0;i=i){ System.out.println(kari); }else{ Arrays.sort(mynex); System.out.println(mynex[(int) (b.length - 1-(i-t-1))]); } } }