public static int[] twoSum(int[] numbers, int target) {
		int[] result = new int[2];
		result[0] = -1;
		result[1] = -1;
		HashMap<Integer, Integer> table = new HashMap<Integer, Integer>();
		
		int other = 0;	//start from 1
		for(int m=0;m<numbers.length;m++) {
			Integer otherPart = table.get(target-numbers[m]);
			if(otherPart == null) {
				table.put(numbers[m], target-numbers[m]);
			} else {
				other = otherPart;
				break;
			}
		}
		
		for(int m=0;m<numbers.length;m++) {
			if(numbers[m] == other && result[0] == -1) {
				result[0] = m+1;
			}else if(numbers[m] == target-other && result[1] == -1) {
				result[1] = m+1;
			}
		}
		
		if(result[0] > result[1]) {
			int tmp = result[1];
			result[1] = result[0];
			result[0] = tmp;
		}
		return result;
		
	}