public int[] getBase(String equation) {
		String[] temp = equation.split("[+]");
		String[] temp1 = temp[1].split("=");
		ArrayList<Integer> result = new ArrayList<Integer>();
		for(int i = 2;i <= 20;i++){
			String answer = BaseAdd(temp[0], temp1[0], i);
			if(answer.equals(temp1[1]))
				result.add(i);
		}
		int[] res = new int[result.size()];
		for(int i = 0;i<res.length;i++)
			res[i] = result.get(i);
		return res;
	}