solve Combinations