Find all possible combinations (A,B).
For example:
----- | | | --+-- | | | | --+-- | | | -----
blackjack
flooble's webmaster puzzle