how to solve combination probability - Search