import java.io.*; import java.util.*; /** * This solution is linear in the max allowed value. * * @author Finn Lidbetter */ public class FinnNoThanks { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); String[] s = br.readLine().split(" "); boolean[] arr = new boolean[100005]; for (int i=0; i