import java.util.*;enum D{D;System z;int n,j,c,k;int[]a=new int[300];{for(Scanner s=new Scanner(z.in);s.hasNext();)a[n++]=s.nextInt();for(j=-1;++j