public static void main(String[] args) {
		Scanner scan1 = new Scanner(System.in);
		Scanner scan2 = new Scanner(System.in);
		System.out.println("Please enter target number: ");
		int target = scan1.nextInt(); 
		System.out.println("Please enter subset, separate with spaces: ");
		String subset = scan2.nextLine();
		//int target = 8; String subset = "2 3 4 5";
		String Strsubsets[] = subset.split("\\s+");
		int subsets[] = new int[Strsubsets.length];
		for(int i = 0; i < subsets.length; i ++){
			subsets[i] = Integer.parseInt(Strsubsets[i]);
		}
		quickSort(subsets,0,subsets.length-1);
		SubsetSum(target,subsets);
	}