static int useA(int[]count){
		
		
		for(int k=1; k<count.length;k++){
			for(int j=0; j<count.length;j++)
				System.out.print(count[j]+",");
			System.out.println();
			if(count[k]==1){
			
				if((k<count.length-1 )&&(count[k+1]==1)&&(count[0]>0)){
					count[k]--;
					count[k+1]--;
					count[0]--;
					k=k+1;
					return 1;
				}
				
				if(count[0]>0){
					count[k]--;
					count[0]--;
					return 1;
				}

				return 0;
			}
		}
		
		
		return 1;
		
	}