~e032, solved using a Array#permutation and a very limited check of possible products within each possible permute