private static void solve(StringBuilder pStr, StringBuilder vStr) {
		ArrayList<Integer> al = new ArrayList<>();
		for (int i = 0; i < pStr.length(); i++) {
			int numErrors = 0;
			int numCounted = 0;
			int index = i;
			for (int j = 0; j < vStr.length(); j++) {
				if (index >= pStr.length()) {
					numErrors = numErrors + 2;
					continue;
				}
				if (vStr.charAt(j) == pStr.charAt(index))
					numCounted++;
				else if (numErrors > 1) {
					numErrors++;
					break;
				} else
					numErrors++;
				index++;
			}
			if (numErrors <= 1 && numCounted >= vStr.length() - 1)
				al.add(i);
		}
		String delim = "";
		StringBuilder sb = new StringBuilder();

		for (Integer num : al) {
			sb.append(delim).append(num);
			delim = " ";
		}
		System.out.println(sb.toString());
	}