private void calc()
	{
		for (int i = 0; i < this.totalNumber; i++)
		{
			int number = this.getNumber(i + 1);
			
			if (data[i] != number)
			{
				
				if (data[i] == 2)
				{
				
					for (int j = this.numbers[number]; j < this.totalNumber; j++)
					{
						if (data[j] == number)
						{
							int tmp = data[i];
							data[i] = data[j];
							data[j] = tmp;
							
							this.exchangeNumber ++;
							
							break;
						}
					}
				}
				else					
				{
					for (int j = this.totalNumber - 1; j >= this.numbers[number]; j--)
					{
						if (data[j] == number)
						{
							int tmp = data[i];
							data[i] = data[j];
							data[j] = tmp;
							
							this.exchangeNumber ++;
							
							break;
						}
					}
				}
			}
		}
	}