Combinations Finder

Input
Possible combinations