private static boolean isTrue(int[] array) {
		int int1 = array[0];
		int int2 = array[0];
		for (int i = 1; i < array.length; i++) {
			if (array[i] != int1) {
				int2 = array[i];
				break;
			}
		}
		if (int1 == int2) {
			return false; // it means all numbers in array are same
		}
		
		int count1 = 0;
		int count2 = 0;
		for (int i = 0; i < array.length; i++) {
			if (array[i] == int1) {
				count1++;
			}
			if (array[i] == int2) {
				count2++;
			}
		}
		return (count1 == 2 && count2 == 3) || (count1 == 3 && count2 == 2);
		
	}