public static void smoosh(int[] ints) {
    // Fill in your solution here.  (Ours is fourteen lines long, not counting
    // blank lines or lines already present in this file.)
	  int inputlen=0;
	  
	  if(ints!=null)
		  inputlen=ints.length;
	  
	  int i;
	  
	  for(i=(inputlen-1);i>0;i--){
		  if(ints[i]==ints[i-1]){			  
			ints[i-1]=ints[i];		
			ints[i]=-1;
		  }

	  }
	  
	  
	  //Arrays.sort(ints);
	  
//	  for(int j=0;i<(inputlen-1)/2;i++){
//		  ints[j]=ints[inputlen-j];
//	  }

	  
  }