Combinations in word problems