public void finalWinSimu(int total, int count){
		int leftNum = total;
		int[] allPeople = new int[total];
		int nextGoIndex = -1;
		for(int i=0;i<allPeople.length;i++){
			allPeople[i]=i;
		}
		while(leftNum>1){
			for(int i=1;i<=count;i++){
				nextGoIndex = getNextIndex(nextGoIndex,total);
				while(allPeople[nextGoIndex]<0){
					nextGoIndex= getNextIndex(nextGoIndex,total);
				}
			}
			allPeople[nextGoIndex]=-1;
			leftNum--;
		}
		for(int i=0;i<total;i++){
			if(allPeople[i]>=0){
				System.out.println(allPeople[i]+1);
			}
		}
	}