import java.io.BufferedInputStream; import java.io.BufferedReader; import java.util.*; public class Main { private static final Value used=new Value(-1,-1); public static void main(String[] args) { Scanner sc=new Scanner(new BufferedInputStream(System.in)); int len=Integer.parseInt(sc.nextLine()); Value[] unsorted=new Value[len]; Value[] sorted=new Value[len]; String[] toStringedNumbers=new String[len]; String[] splited=sc.nextLine().split(" "); for(int i=0;i